Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00404/0.004041, allocations: 177.9 kB / 7.455 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7347/0.7347, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.581/1.581, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 109.5 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5181/0.5194, allocations: 88.41 MB / 0.5529 GB, free: 89.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.7415, allocations: 82.3 MB / 0.6333 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.792/5.534, allocations: 1.882 GB / 2.515 GB, free: 81.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/5.534, allocations: 87.95 kB / 2.515 GB, free: 81.53 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 1.923/7.457, allocations: 464.9 MB / 2.969 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.548e-05/7.458, allocations: 13.42 kB / 2.969 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002764/7.46, allocations: 327.7 kB / 2.969 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002279/7.463, allocations: 0.8664 MB / 2.97 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.201e-05/7.463, allocations: 31.34 kB / 2.97 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/7.463, allocations: 50.62 kB / 2.97 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001568/7.464, allocations: 0.7327 MB / 2.971 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/7.466, allocations: 0.8426 MB / 2.972 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/7.466, allocations: 5.094 kB / 2.972 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.338e-05/7.466, allocations: 1.156 kB / 2.972 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.174e-05/7.466, allocations: 30.06 kB / 2.972 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006367/7.473, allocations: 3.312 MB / 2.975 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009667/7.474, allocations: 454.6 kB / 2.975 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004728/7.474, allocations: 268.1 kB / 2.976 GB, free: 143 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002502/7.474, allocations: 104.9 kB / 2.976 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/7.474, allocations: 39.62 kB / 2.976 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.216e-06/7.474, allocations: 1.156 kB / 2.976 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49): time 0.004263/7.479, allocations: 1.334 MB / 2.977 GB, free: 142 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/7.479, allocations: 61.03 kB / 2.977 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009413/7.48, allocations: 0.525 MB / 2.978 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.466e-05/7.48, allocations: 28.27 kB / 2.978 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/7.48, allocations: 390 kB / 2.978 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/7.48, allocations: 164.2 kB / 2.978 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/7.48, allocations: 0 / 2.978 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001424/7.48, allocations: 387.9 kB / 2.979 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003426/7.481, allocations: 211.5 kB / 2.979 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004432/7.481, allocations: 346.6 kB / 2.979 GB, free: 140.4 MB / 0.6823 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.003158/7.484, allocations: 0.9272 MB / 2.98 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/7.484, allocations: 0.9062 kB / 2.98 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001406/7.486, allocations: 0.6859 MB / 2.981 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/7.486, allocations: 6.812 kB / 2.981 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/7.486, allocations: 2.688 kB / 2.981 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002299/7.486, allocations: 64.41 kB / 2.981 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007362/7.487, allocations: 135.9 kB / 2.981 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/7.489, allocations: 2.637 MB / 2.984 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/7.491, allocations: 51.53 kB / 2.984 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/7.491, allocations: 31.05 kB / 2.984 GB, free: 136.9 MB / 0.6823 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002899/7.491, allocations: 121.2 kB / 2.984 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003708/7.491, allocations: 80.94 kB / 2.984 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003706/7.492, allocations: 80.64 kB / 2.984 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/7.492, allocations: 8.203 kB / 2.984 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/7.492, allocations: 1.625 kB / 2.984 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001098/7.493, allocations: 0.7774 MB / 2.985 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003674/7.497, allocations: 1.555 MB / 2.986 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/7.497, allocations: 6.781 kB / 2.986 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006848/7.497, allocations: 118.8 kB / 2.986 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001611/7.497, allocations: 36.45 kB / 2.986 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.456e-05/7.498, allocations: 9.844 kB / 2.986 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/7.499, allocations: 1.35 MB / 2.988 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.838e-06/7.499, allocations: 7.719 kB / 2.988 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001852/7.501, allocations: 1.133 MB / 2.989 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002958/7.504, allocations: 1.845 MB / 2.991 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007342/7.504, allocations: 211.5 kB / 2.991 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000283/7.505, allocations: 12.83 kB / 2.991 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/7.506, allocations: 49.83 kB / 2.991 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/7.506, allocations: 40.94 kB / 2.991 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-05/7.506, allocations: 28.64 kB / 2.991 GB, free: 131 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006851/7.507, allocations: 411.1 kB / 2.991 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002949/7.51, allocations: 496 kB / 2.992 GB, free: 130.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002527/7.512, allocations: 1.442 MB / 2.993 GB, free: 129 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001242/7.513, allocations: 0.7022 MB / 2.994 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/7.513, allocations: 7.906 kB / 2.994 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004369/7.514, allocations: 348.6 kB / 2.994 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/7.517, allocations: 440.8 kB / 2.995 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003634/7.52, allocations: 1.33 MB / 2.996 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/7.521, allocations: 1.173 MB / 2.997 GB, free: 125 MB / 0.6823 GB Notification: Performance of SimCode: time 1.693e-06/7.521, allocations: 0 / 2.997 GB, free: 125 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)