Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing",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 3.2.3+maint.om/package.mo): time 0.002646/0.002646, allocations: 190.1 kB / 7.803 MB, free: 2.438 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.2 MB / 213.4 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001306/0.001305, allocations: 99.36 kB / 261.4 MB, free: 13.52 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2344/0.2344, allocations: 43.49 MB / 352.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2254/0.4598, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.8041, allocations: 58.84 MB / 476.7 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.748/6.552, allocations: 2.8 GB / 3.265 GB, free: 67.79 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/6.552, allocations: 86.11 kB / 3.265 GB, free: 67.7 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.8374/7.39, allocations: 234.9 MB / 3.495 GB, free: 30.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.287e-05/7.39, allocations: 8 kB / 3.495 GB, free: 30.61 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002474/7.392, allocations: 275 kB / 3.495 GB, free: 30.34 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/7.394, allocations: 423.1 kB / 3.495 GB, free: 29.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.192e-05/7.394, allocations: 16 kB / 3.495 GB, free: 29.87 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.584e-05/7.394, allocations: 20 kB / 3.495 GB, free: 29.85 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006979/7.394, allocations: 349.4 kB / 3.496 GB, free: 29.51 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006903/7.395, allocations: 426.5 kB / 3.496 GB, free: 29.05 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/7.395, allocations: 0 / 3.496 GB, free: 29.05 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.512e-05/7.395, allocations: 0 / 3.496 GB, free: 29.05 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/7.395, allocations: 12 kB / 3.496 GB, free: 29.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01947/7.415, allocations: 10.32 MB / 3.506 GB, free: 17.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005401/7.415, allocations: 238.7 kB / 3.506 GB, free: 17.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/7.416, allocations: 136.8 kB / 3.506 GB, free: 17.24 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3119/7.728, allocations: 24.2 MB / 3.53 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/7.728, allocations: 41.66 kB / 3.53 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=26): time 2.365e-06/7.728, allocations: 0 / 3.53 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=26): time 0.002244/7.73, allocations: 0.5461 MB / 3.531 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/7.73, allocations: 106.3 kB / 3.531 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003823/7.73, allocations: 265.5 kB / 3.531 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/7.73, allocations: 25.7 kB / 3.531 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/7.73, allocations: 200 kB / 3.531 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.382e-05/7.731, allocations: 90.44 kB / 3.531 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-05/7.731, allocations: 0 / 3.531 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001081/7.731, allocations: 345.3 kB / 3.532 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/7.731, allocations: 121 kB / 3.532 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/7.731, allocations: 225.4 kB / 3.532 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009/7.732, allocations: 230.6 kB / 3.532 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/7.732, allocations: 0 / 3.532 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001745/7.734, allocations: 0.6412 MB / 3.533 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002621/7.734, allocations: 1.047 MB / 3.534 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/7.734, allocations: 3.969 kB / 3.534 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/7.734, allocations: 7.391 kB / 3.534 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005025/7.735, allocations: 121.9 kB / 3.534 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/7.735, allocations: 9.125 kB / 3.534 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005428/7.735, allocations: 88.11 kB / 3.534 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/7.735, allocations: 19.39 kB / 3.534 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.392e-06/7.735, allocations: 3.969 kB / 3.534 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001027/7.736, allocations: 375.9 kB / 3.534 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/7.736, allocations: 11.34 kB / 3.534 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.46e-06/7.736, allocations: 3.844 kB / 3.534 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004656/7.737, allocations: 116.7 kB / 3.535 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/7.737, allocations: 7.531 kB / 3.535 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000425/7.737, allocations: 76.77 kB / 3.535 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/7.737, allocations: 17.67 kB / 3.535 GB, free: 115.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000106/7.737, allocations: 114.9 kB / 3.535 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005243/7.738, allocations: 192.8 kB / 3.535 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/7.74, allocations: 1.747 MB / 3.537 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.58e-05/7.74, allocations: 21.22 kB / 3.537 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/7.74, allocations: 0 / 3.537 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/7.74, allocations: 0 / 3.537 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002785/7.743, allocations: 2.48 MB / 3.539 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/7.743, allocations: 0 / 3.539 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003961/7.743, allocations: 101.9 kB / 3.539 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/7.743, allocations: 0 / 3.539 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/7.743, allocations: 7.781 kB / 3.539 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/7.743, allocations: 3.75 kB / 3.539 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/7.743, allocations: 7.625 kB / 3.539 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00196/7.745, allocations: 1.471 MB / 3.541 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002225/7.748, allocations: 1.91 MB / 3.542 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002624/7.748, allocations: 208.3 kB / 3.543 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.9e-05/7.748, allocations: 0 / 3.543 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004712/7.748, allocations: 57.2 kB / 3.543 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.988e-05/7.749, allocations: 46.97 kB / 3.543 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.972e-05/7.749, allocations: 15.48 kB / 3.543 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002502/7.749, allocations: 261.7 kB / 3.543 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007274/7.756, allocations: 1.38 MB / 3.544 GB, free: 113.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,SinkP1.medium.phase,SourceP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009335/7.765, allocations: 1.561 MB / 3.546 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001545/7.767, allocations: 0.9243 MB / 3.547 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/7.767, allocations: 3.125 kB / 3.547 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007/7.768, allocations: 0.6973 MB / 3.548 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/7.769, allocations: 164.7 kB / 3.548 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/7.771, allocations: 1.176 MB / 3.549 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006806/7.772, allocations: 1 MB / 3.55 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/7.772, allocations: 0 / 3.55 GB, free: 112.6 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1)