Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",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.001361/0.001361, allocations: 189.5 kB / 7.808 MB, free: 2.492 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.476/1.476, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.001028/0.001028, allocations: 87.56 kB / 261.4 MB, free: 13.63 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.2114/0.2114, allocations: 43.48 MB / 352.8 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2448/0.4562, allocations: 64.98 MB / 417.8 MB, free: 40.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.853, allocations: 58.84 MB / 476.7 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.499/2.352, allocations: 0.5906 GB / 1.056 GB, free: 137 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000407/2.352, allocations: 93.03 kB / 1.056 GB, free: 137 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.9105/3.263, allocations: 267.6 MB / 1.317 GB, free: 80.83 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/3.263, allocations: 14.12 kB / 1.317 GB, free: 80.82 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/3.265, allocations: 159 kB / 1.318 GB, free: 80.66 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/3.266, allocations: 0.4998 MB / 1.318 GB, free: 80.14 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/3.266, allocations: 18.62 kB / 1.318 GB, free: 80.12 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/3.266, allocations: 24 kB / 1.318 GB, free: 80.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008309/3.267, allocations: 425.9 kB / 1.319 GB, free: 79.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008183/3.268, allocations: 0.5517 MB / 1.319 GB, free: 79.07 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/3.268, allocations: 0 / 1.319 GB, free: 79.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.062e-05/3.268, allocations: 0 / 1.319 GB, free: 79.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/3.268, allocations: 12 kB / 1.319 GB, free: 79.06 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003755/3.272, allocations: 2.651 MB / 1.322 GB, free: 76.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003947/3.272, allocations: 214.7 kB / 1.322 GB, free: 76.07 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/3.272, allocations: 127.5 kB / 1.322 GB, free: 75.94 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003552/3.273, allocations: 321.2 kB / 1.322 GB, free: 75.58 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/3.273, allocations: 38.56 kB / 1.322 GB, free: 75.53 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 2.114e-06/3.273, allocations: 0 / 1.322 GB, free: 75.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31): time 0.002842/3.275, allocations: 0.833 MB / 1.323 GB, free: 74.69 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/3.276, allocations: 164.7 kB / 1.323 GB, free: 74.49 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004372/3.276, allocations: 385 kB / 1.324 GB, free: 74.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.957e-05/3.276, allocations: 25.7 kB / 1.324 GB, free: 74.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/3.276, allocations: 259.3 kB / 1.324 GB, free: 73.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.534e-05/3.276, allocations: 106.4 kB / 1.324 GB, free: 73.72 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/3.276, allocations: 3.344 kB / 1.324 GB, free: 73.72 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001082/3.276, allocations: 358.8 kB / 1.324 GB, free: 73.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/3.277, allocations: 125 kB / 1.325 GB, free: 73.24 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/3.277, allocations: 294.4 kB / 1.325 GB, free: 72.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002202/3.279, allocations: 0.6442 MB / 1.325 GB, free: 72.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/3.279, allocations: 2.688 kB / 1.325 GB, free: 72.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002753/3.282, allocations: 0.9716 MB / 1.326 GB, free: 71.25 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/3.282, allocations: 4 kB / 1.326 GB, free: 71.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/3.282, allocations: 6.438 kB / 1.326 GB, free: 71.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002493/3.282, allocations: 48.83 kB / 1.326 GB, free: 71.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003921/3.283, allocations: 119.8 kB / 1.327 GB, free: 71.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006082/3.283, allocations: 0.6178 MB / 1.327 GB, free: 70.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005175/3.284, allocations: 50.44 kB / 1.327 GB, free: 70.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.294e-05/3.284, allocations: 51.98 kB / 1.327 GB, free: 70.34 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001413/3.284, allocations: 124.7 kB / 1.327 GB, free: 70.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/3.284, allocations: 47.44 kB / 1.327 GB, free: 70.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001834/3.286, allocations: 0.7142 MB / 1.328 GB, free: 69.47 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/3.286, allocations: 4 kB / 1.328 GB, free: 69.46 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/3.286, allocations: 4 kB / 1.328 GB, free: 69.46 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/3.286, allocations: 0 / 1.328 GB, free: 69.46 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001897/3.288, allocations: 1.171 MB / 1.329 GB, free: 68.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/3.288, allocations: 0 / 1.329 GB, free: 68.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/3.288, allocations: 51.91 kB / 1.329 GB, free: 68.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001438/3.288, allocations: 48.83 kB / 1.329 GB, free: 68.09 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/3.288, allocations: 4 kB / 1.329 GB, free: 68.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004272/3.289, allocations: 0.611 MB / 1.33 GB, free: 67.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/3.289, allocations: 4 kB / 1.33 GB, free: 67.45 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001092/3.29, allocations: 0.6647 MB / 1.331 GB, free: 66.69 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00137/3.291, allocations: 1.099 MB / 1.332 GB, free: 65.49 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/3.291, allocations: 148.4 kB / 1.332 GB, free: 65.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/3.292, allocations: 7.906 kB / 1.332 GB, free: 65.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004136/3.292, allocations: 19.98 kB / 1.332 GB, free: 65.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.516e-05/3.292, allocations: 27.91 kB / 1.332 GB, free: 65.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.699e-05/3.292, allocations: 19.98 kB / 1.332 GB, free: 65.25 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0003173/3.292, allocations: 318.9 kB / 1.332 GB, free: 64.94 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002407/3.295, allocations: 0.5189 MB / 1.333 GB, free: 64.42 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002876/3.298, allocations: 1.474 MB / 1.334 GB, free: 63.08 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006585/3.298, allocations: 319.8 kB / 1.334 GB, free: 62.77 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/3.298, allocations: 9.188 kB / 1.335 GB, free: 62.76 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002233/3.299, allocations: 124.3 kB / 1.335 GB, free: 62.64 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/3.3, allocations: 243.7 kB / 1.335 GB, free: 62.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/3.301, allocations: 0.5997 MB / 1.335 GB, free: 61.76 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007732/3.302, allocations: 0.9987 MB / 1.336 GB, free: 60.73 MB / 0.4948 GB Notification: Performance of SimCode: time 2.51e-07/3.302, allocations: 3.938 kB / 1.336 GB, free: 60.73 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1)