Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 196.3 kB / 16.53 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8996/0.8996, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 64.38 kB / 0.5054 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1419, allocations: 80.93 MB / 0.5845 GB, free: 4.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4223/0.5642, allocations: 190.4 MB / 0.7705 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009018/0.5733, allocations: 5.686 MB / 0.776 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/0.5748, allocations: 39.75 kB / 0.776 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001687/0.5765, allocations: 0.5786 MB / 0.7766 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004455/0.581, allocations: 1.824 MB / 0.7784 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002784/0.5838, allocations: 1.157 MB / 0.7795 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003513/0.5873, allocations: 2.963 MB / 0.7824 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/0.5888, allocations: 1.116 MB / 0.7835 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00169/0.5905, allocations: 1.059 MB / 0.7845 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001871/0.5924, allocations: 0.9604 MB / 0.7855 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002649/0.5927, allocations: 124 kB / 0.7856 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002731/0.5954, allocations: 1.442 MB / 0.787 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000628/0.5961, allocations: 0.5689 MB / 0.7876 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001026/0.5971, allocations: 0.7273 MB / 0.7883 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003129/0.6002, allocations: 2.318 MB / 0.7905 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6003, allocations: 0 / 0.7905 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6003, allocations: 0 / 0.7905 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.484e-05/0.6003, allocations: 0 / 0.7905 GB, free: 9.77 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002781/0.6031, allocations: 1.624 MB / 0.7921 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.6032, allocations: 19.97 kB / 0.7921 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002079/0.6034, allocations: 156.1 kB / 0.7923 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002061/0.6054, allocations: 334.2 kB / 0.7926 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.6068, allocations: 0.8668 MB / 0.7935 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.37e-05/0.6069, allocations: 76.69 kB / 0.7935 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.6071, allocations: 103.9 kB / 0.7936 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/0.6089, allocations: 1.081 MB / 0.7947 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.609, allocations: 0 / 0.7947 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.6091, allocations: 48 kB / 0.7947 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-05/0.6091, allocations: 45.97 kB / 0.7948 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.6108, allocations: 0.9876 MB / 0.7957 GB, free: 4.336 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006308/0.6172, allocations: 4.26 MB / 0.7999 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008869/0.6181, allocations: 0.5904 MB / 0.8005 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005222/0.6186, allocations: 342.5 kB / 0.8008 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002178/0.6188, allocations: 109.4 kB / 0.8009 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.6189, allocations: 46.98 kB / 0.8009 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=53): time 2.816e-06/0.6189, allocations: 0 / 0.8009 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55): time 0.004193/0.6231, allocations: 2.197 MB / 0.8031 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.6231, allocations: 55.97 kB / 0.8031 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.6243, allocations: 0.8882 MB / 0.804 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.804e-05/0.6244, allocations: 37.7 kB / 0.804 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003611/0.6247, allocations: 0.5107 MB / 0.8045 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.6249, allocations: 201.1 kB / 0.8047 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.6251, allocations: 130.6 kB / 0.8049 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.6253, allocations: 338 kB / 0.8052 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/0.6258, allocations: 285.8 kB / 0.8055 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005902/0.6264, allocations: 446.6 kB / 0.8059 GB, free: 9.391 MB / 0.6231 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004054/0.6304, allocations: 1.733 MB / 0.8076 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.6304, allocations: 8 kB / 0.8076 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001579/0.632, allocations: 0.9223 MB / 0.8085 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.6321, allocations: 7.938 kB / 0.8085 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.6321, allocations: 4 kB / 0.8085 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002324/0.6323, allocations: 102.5 kB / 0.8086 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007468/0.6331, allocations: 163.8 kB / 0.8087 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003669/0.6368, allocations: 4.643 MB / 0.8133 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009298/0.6377, allocations: 27.92 kB / 0.8133 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-05/0.6378, allocations: 28 kB / 0.8133 GB, free: 1.238 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005418/0.6383, allocations: 346.8 kB / 0.8137 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.6385, allocations: 106.8 kB / 0.8138 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/0.6387, allocations: 109.2 kB / 0.8139 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.6388, allocations: 7.938 kB / 0.8139 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.6388, allocations: 0 / 0.8139 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001087/0.6399, allocations: 0.7691 MB / 0.8146 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003168/0.643, allocations: 1.984 MB / 0.8166 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.6431, allocations: 4 kB / 0.8166 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000705/0.6438, allocations: 148.2 kB / 0.8167 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.83e-05/0.6439, allocations: 44.84 kB / 0.8168 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.734e-05/0.6439, allocations: 23.97 kB / 0.8168 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.6451, allocations: 1.6 MB / 0.8183 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.6451, allocations: 7.938 kB / 0.8184 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.6469, allocations: 1.23 MB / 0.8196 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000436/0.6473, allocations: 255.9 kB / 0.8198 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.6475, allocations: 12 kB / 0.8198 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007601/0.6483, allocations: 42.55 kB / 0.8198 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.6484, allocations: 47.83 kB / 0.8199 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-05/0.6485, allocations: 31.98 kB / 0.8199 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007726/0.6492, allocations: 0.6122 MB / 0.8205 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6492, allocations: 4 kB / 0.8205 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009327/0.6502, allocations: 300 kB / 0.8208 GB, free: 9.207 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002288/0.6525, allocations: 1.876 MB / 0.8226 GB, free: 7.273 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001737/0.6542, allocations: 1.102 MB / 0.8237 GB, free: 6.133 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.6542, allocations: 4 kB / 0.8237 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006211/0.6549, allocations: 451.9 kB / 0.8242 GB, free: 5.676 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002887/0.6578, allocations: 0.6627 MB / 0.8248 GB, free: 5.055 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.6687, allocations: 8.288 MB / 0.8329 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007362/0.6695, allocations: 1.169 MB / 0.834 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009512/0.6705, allocations: 248.4 kB / 0.8343 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004927/0.671, allocations: 379.3 kB / 0.8346 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of SimCode: time 5.61e-07/0.671, allocations: 0 / 0.8346 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2736/0.9446, allocations: 30.3 MB / 0.8642 GB, free: 220.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.43/19.37, allocations: 6.219 kB / 0.8642 GB, free: 220.1 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)