Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_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.0009358/0.0009358, allocations: 91.38 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005472/0.005472, allocations: 169.7 kB / 16.26 MB, free: 6.68 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.287/1.287, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.73/0.73, allocations: 132.3 MB / 423.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003199, allocations: 12 kB / 0.5041 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.418, allocations: 81.57 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2085/0.6265, allocations: 185.8 MB / 0.7651 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009358/0.6359, allocations: 5.697 MB / 0.7707 GB, free: 328 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001515/0.6375, allocations: 35.75 kB / 0.7707 GB, free: 292 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001569/0.6391, allocations: 0.4974 MB / 0.7712 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004624/0.6437, allocations: 1.72 MB / 0.7729 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002771/0.6465, allocations: 1.069 MB / 0.774 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004424/0.6509, allocations: 4.094 MB / 0.7779 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/0.6522, allocations: 0.9239 MB / 0.7789 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001516/0.6537, allocations: 0.8711 MB / 0.7797 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001843/0.6556, allocations: 0.9526 MB / 0.7806 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.6557, allocations: 48 kB / 0.7807 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002932/0.6587, allocations: 1.633 MB / 0.7823 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004986/0.6592, allocations: 494.6 kB / 0.7827 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006884/0.6599, allocations: 0.6547 MB / 0.7834 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002484/0.6624, allocations: 2.317 MB / 0.7856 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.6624, allocations: 4 kB / 0.7856 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6624, allocations: 4 kB / 0.7857 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.537e-05/0.6624, allocations: 0 / 0.7857 GB, free: 0.9648 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.002265/0.6647, allocations: 1.367 MB / 0.787 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.6647, allocations: 8.031 kB / 0.787 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001915/0.6649, allocations: 160.2 kB / 0.7871 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001967/0.6669, allocations: 326.2 kB / 0.7875 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.6682, allocations: 0.8746 MB / 0.7883 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.591e-05/0.6682, allocations: 77.94 kB / 0.7884 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.6684, allocations: 96 kB / 0.7885 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.6702, allocations: 1.085 MB / 0.7895 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.6703, allocations: 0 / 0.7895 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.986e-05/0.6704, allocations: 47.98 kB / 0.7896 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.6e-05/0.6704, allocations: 42 kB / 0.7896 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/0.6721, allocations: 1.003 MB / 0.7906 GB, free: 11.78 MB / 0.6231 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.005693/0.6778, allocations: 4.256 MB / 0.7948 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008984/0.6787, allocations: 0.5997 MB / 0.7953 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005219/0.6792, allocations: 346.6 kB / 0.7957 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001806/0.6794, allocations: 109.5 kB / 0.7958 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.6794, allocations: 39 kB / 0.7958 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=53): time 1.924e-06/0.6794, allocations: 0 / 0.7958 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55): time 0.004009/0.6835, allocations: 2.236 MB / 0.798 GB, free: 3.754 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.6835, allocations: 55.97 kB / 0.7981 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.6845, allocations: 0.8765 MB / 0.7989 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.783e-05/0.6846, allocations: 41.7 kB / 0.799 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003651/0.685, allocations: 0.5224 MB / 0.7995 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.6852, allocations: 189.2 kB / 0.7996 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.751e-05/0.6853, allocations: 65.69 kB / 0.7997 GB, free: 1.965 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.6854, allocations: 334 kB / 0.8 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004843/0.6859, allocations: 285.8 kB / 0.8003 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005906/0.6865, allocations: 458.6 kB / 0.8007 GB, free: 0.8555 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.003973/0.6904, allocations: 1.765 MB / 0.8025 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.6905, allocations: 0 / 0.8025 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001516/0.692, allocations: 0.9417 MB / 0.8034 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.692, allocations: 11.98 kB / 0.8034 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.692, allocations: 4 kB / 0.8034 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002076/0.6922, allocations: 98.47 kB / 0.8035 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007536/0.693, allocations: 175.8 kB / 0.8037 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003278/0.6963, allocations: 4.283 MB / 0.8078 GB, free: 9.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.6975, allocations: 76.14 kB / 0.8079 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.509e-05/0.6976, allocations: 24 kB / 0.8079 GB, free: 8.996 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0005492/0.6982, allocations: 349.6 kB / 0.8083 GB, free: 8.645 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.6983, allocations: 106.8 kB / 0.8084 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/0.6985, allocations: 109.2 kB / 0.8085 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.6985, allocations: 7.938 kB / 0.8085 GB, free: 8.422 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.6986, allocations: 0 / 0.8085 GB, free: 8.422 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001091/0.6996, allocations: 0.7809 MB / 0.8092 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003072/0.7027, allocations: 2.003 MB / 0.8112 GB, free: 5.484 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.7027, allocations: 4 kB / 0.8112 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007051/0.7035, allocations: 156.2 kB / 0.8113 GB, free: 5.328 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.553e-05/0.7036, allocations: 44.77 kB / 0.8114 GB, free: 5.281 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.884e-05/0.7036, allocations: 16 kB / 0.8114 GB, free: 5.266 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/0.7049, allocations: 1.48 MB / 0.8129 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.7049, allocations: 7.938 kB / 0.8129 GB, free: 3.641 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001805/0.7067, allocations: 1.253 MB / 0.8141 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003928/0.7071, allocations: 251.9 kB / 0.8143 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.7072, allocations: 8.234 kB / 0.8143 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008255/0.708, allocations: 81.47 kB / 0.8144 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.7082, allocations: 43.83 kB / 0.8145 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.851e-05/0.7082, allocations: 43.95 kB / 0.8145 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007728/0.709, allocations: 0.6083 MB / 0.8151 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.709, allocations: 0 / 0.8151 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009834/0.71, allocations: 308 kB / 0.8154 GB, free: 0.9844 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.252/0.962, allocations: 1.87 MB / 0.8172 GB, free: 217.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001756/0.9638, allocations: 1.01 MB / 0.8182 GB, free: 217 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.9638, allocations: 8.938 kB / 0.8182 GB, free: 217 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006311/0.9645, allocations: 450.6 kB / 0.8186 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003679/0.9682, allocations: 0.6197 MB / 0.8192 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.9803, allocations: 8.768 MB / 0.8278 GB, free: 212.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007571/0.9811, allocations: 1.169 MB / 0.8289 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001124/0.9823, allocations: 259.4 kB / 0.8292 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004502/0.9827, allocations: 379.8 kB / 0.8296 GB, free: 211.1 MB / 0.6387 GB Notification: Performance of SimCode: time 7.22e-07/0.9827, allocations: 0 / 0.8296 GB, free: 211.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04325/1.026, allocations: 28.96 MB / 0.8578 GB, free: 193.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001506/1.026, allocations: 287.4 kB / 0.8581 GB, free: 193 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.465/3.491, allocations: 0 / 0.8581 GB, free: 193 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)