Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.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.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",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.001493/0.001493, allocations: 185.5 kB / 7.806 MB, free: 2.488 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.558/1.558, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.0009755/0.0009754, allocations: 85.02 kB / 261.4 MB, free: 13.56 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.2299/0.2299, allocations: 43.49 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2457/0.4757, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4241/0.8998, allocations: 58.83 MB / 476.7 MB, free: 5.305 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.196/7.096, allocations: 2.786 GB / 3.252 GB, free: 82.35 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/7.096, allocations: 88.7 kB / 3.252 GB, free: 82.26 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 2.36/9.456, allocations: 0.6545 GB / 3.907 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/9.456, allocations: 8 kB / 3.907 GB, free: 9.887 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006737/9.463, allocations: 0.6971 MB / 3.907 GB, free: 9.188 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002831/9.466, allocations: 0.8393 MB / 3.908 GB, free: 8.316 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002673/9.466, allocations: 176.8 kB / 3.908 GB, free: 8.121 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004363/9.467, allocations: 63.66 kB / 3.908 GB, free: 8.062 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002764/9.47, allocations: 1.168 MB / 3.909 GB, free: 6.891 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003073/9.473, allocations: 1.39 MB / 3.911 GB, free: 5.352 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.946e-05/9.473, allocations: 7.938 kB / 3.911 GB, free: 5.344 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002017/9.473, allocations: 11.91 kB / 3.911 GB, free: 5.332 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.373e-05/9.473, allocations: 38 kB / 3.911 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3813/9.854, allocations: 41.24 MB / 3.951 GB, free: 83.37 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006402/9.855, allocations: 390 kB / 3.951 GB, free: 83.35 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004241/9.855, allocations: 330.8 kB / 3.952 GB, free: 83.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04165/9.897, allocations: 25.18 MB / 3.976 GB, free: 64.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/9.897, allocations: 46.53 kB / 3.976 GB, free: 64.44 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=64): time 1.008e-05/9.897, allocations: 0 / 3.976 GB, free: 64.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72): time 0.01319/9.911, allocations: 2.895 MB / 3.979 GB, free: 64.01 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/9.911, allocations: 115.8 kB / 3.979 GB, free: 63.88 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009863/9.912, allocations: 0.6574 MB / 3.98 GB, free: 63.75 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.709e-05/9.912, allocations: 25.7 kB / 3.98 GB, free: 63.72 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002989/9.912, allocations: 0.5083 MB / 3.981 GB, free: 63.44 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/9.912, allocations: 256.1 kB / 3.981 GB, free: 63.32 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.515e-05/9.912, allocations: 0 / 3.981 GB, free: 63.32 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001338/9.913, allocations: 399.6 kB / 3.981 GB, free: 63 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005411/9.913, allocations: 393.4 kB / 3.982 GB, free: 63 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008476/9.914, allocations: 0.9478 MB / 3.982 GB, free: 62.31 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002179/9.916, allocations: 0.6873 MB / 3.983 GB, free: 62.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/9.916, allocations: 8.875 kB / 3.983 GB, free: 62.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.005065/9.921, allocations: 2.054 MB / 3.985 GB, free: 62.19 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/9.921, allocations: 7.656 kB / 3.985 GB, free: 62.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.952e-05/9.921, allocations: 19 kB / 3.985 GB, free: 62.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001565/9.923, allocations: 474.1 kB / 3.986 GB, free: 62.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000947/9.924, allocations: 261.8 kB / 3.986 GB, free: 62.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002953/9.927, allocations: 1.967 MB / 3.988 GB, free: 61.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/9.929, allocations: 130.6 kB / 3.988 GB, free: 61.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/9.929, allocations: 86.28 kB / 3.988 GB, free: 61.11 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 16 (simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase,simpleGenericOrifice2.state_b.phase,simpleGenericOrifice2.state_a.phase,mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,sink2.medium.phase,mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 129 * 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 4,3 28} Notification: Performance of prepare postOptimizeDAE: time 0.0003722/9.929, allocations: 157.1 kB / 3.988 GB, free: 61.01 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001261/9.931, allocations: 423.9 kB / 3.989 GB, free: 60.96 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006305/9.937, allocations: 4.074 MB / 3.993 GB, free: 60.65 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.982e-05/9.937, allocations: 43.11 kB / 3.993 GB, free: 60.65 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/9.937, allocations: 0 / 3.993 GB, free: 60.65 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/9.937, allocations: 11.08 kB / 3.993 GB, free: 60.65 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007441/9.944, allocations: 5.535 MB / 3.998 GB, free: 60.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/9.944, allocations: 7.5 kB / 3.998 GB, free: 60.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005045/9.945, allocations: 131.8 kB / 3.998 GB, free: 60.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00112/9.946, allocations: 0.6342 MB / 3.999 GB, free: 60.08 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.086e-05/9.946, allocations: 20.7 kB / 3.999 GB, free: 60.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/9.948, allocations: 1.876 MB / 4.001 GB, free: 59.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/9.948, allocations: 3.375 kB / 4.001 GB, free: 59.02 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00651/9.954, allocations: 4.223 MB / 4.005 GB, free: 58.61 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008152/9.963, allocations: 5.667 MB / 4.01 GB, free: 57.81 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009503/9.964, allocations: 342.6 kB / 4.011 GB, free: 57.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/9.964, allocations: 3.906 kB / 4.011 GB, free: 57.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008482/9.965, allocations: 78.64 kB / 4.011 GB, free: 57.63 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/9.965, allocations: 76.73 kB / 4.011 GB, free: 57.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-05/9.965, allocations: 47.52 kB / 4.011 GB, free: 57.63 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0006493/9.966, allocations: 469.7 kB / 4.011 GB, free: 57.54 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008947/9.975, allocations: 1.67 MB / 4.013 GB, free: 57.54 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mixingVolume1.medium.p,mixingVolume1.medium.h,mixingVolume2.medium.h) * Number of discrete variables: 27 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse17.phase,$cse17.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * 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 {4 10,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01221/9.987, allocations: 2.36 MB / 4.015 GB, free: 57.35 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002986/9.99, allocations: 1.997 MB / 4.017 GB, free: 57.31 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/9.99, allocations: 1.188 kB / 4.017 GB, free: 57.31 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001957/9.992, allocations: 1.681 MB / 4.019 GB, free: 57.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/9.994, allocations: 390 kB / 4.019 GB, free: 57.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005072/9.999, allocations: 2.906 MB / 4.022 GB, free: 56.79 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009575/10, allocations: 1.449 MB / 4.023 GB, free: 56.07 MB / 0.5261 GB Notification: Performance of SimCode: time 7.92e-07/10, allocations: 2.516 kB / 4.023 GB, free: 56.07 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1)