Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.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.SeveralTestCases,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",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.001704/0.001704, allocations: 186.3 kB / 7.804 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.529/1.529, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.000985/0.0009847, allocations: 91.98 kB / 261.4 MB, free: 13.54 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.2281/0.2281, allocations: 43.5 MB / 352.9 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2562/0.4844, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4238/0.9082, allocations: 58.84 MB / 476.7 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6795/1.588, allocations: 337.6 MB / 0.7952 GB, free: 11.68 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/1.588, allocations: 100.7 kB / 0.7953 GB, free: 11.63 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 1.96/3.548, allocations: 455.7 MB / 1.24 GB, free: 44.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/3.548, allocations: 13.62 kB / 1.24 GB, free: 44.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/3.55, allocations: 232.6 kB / 1.241 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003656/3.553, allocations: 1.105 MB / 1.242 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/3.554, allocations: 42.41 kB / 1.242 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004861/3.554, allocations: 76.81 kB / 1.242 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003522/3.558, allocations: 1.389 MB / 1.243 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003584/3.561, allocations: 1.623 MB / 1.245 GB, free: 43.63 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.637e-05/3.561, allocations: 12.92 kB / 1.245 GB, free: 43.63 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00037/3.562, allocations: 12.58 kB / 1.245 GB, free: 43.63 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-05/3.562, allocations: 33.97 kB / 1.245 GB, free: 43.63 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01257/3.574, allocations: 10.44 MB / 1.255 GB, free: 36.05 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009439/3.575, allocations: 0.6115 MB / 1.256 GB, free: 36.02 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005115/3.576, allocations: 371.5 kB / 1.256 GB, free: 36.01 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006097/3.582, allocations: 4.298 MB / 1.26 GB, free: 32.56 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.841e-05/3.582, allocations: 48.56 kB / 1.26 GB, free: 32.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=53): time 2.244e-06/3.582, allocations: 0 / 1.26 GB, free: 32.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=53): time 0.006273/3.588, allocations: 1.296 MB / 1.261 GB, free: 32.42 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001639/3.589, allocations: 369.7 kB / 1.262 GB, free: 31.98 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001986/3.591, allocations: 1.033 MB / 1.263 GB, free: 31.79 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002109/3.591, allocations: 28.33 kB / 1.263 GB, free: 31.76 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005614/3.591, allocations: 0.7475 MB / 1.264 GB, free: 31.28 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00023/3.592, allocations: 192.7 kB / 1.264 GB, free: 31.16 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.232e-05/3.592, allocations: 0 / 1.264 GB, free: 31.16 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.96e-05/3.592, allocations: 367.7 kB / 1.264 GB, free: 30.86 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000557/3.592, allocations: 340.4 kB / 1.264 GB, free: 30.85 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008733/3.593, allocations: 0.9471 MB / 1.265 GB, free: 30.11 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00496/3.598, allocations: 1.15 MB / 1.266 GB, free: 30.11 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.191e-05/3.598, allocations: 6.531 kB / 1.266 GB, free: 30.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.006813/3.605, allocations: 1.956 MB / 1.268 GB, free: 29.99 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/3.605, allocations: 5.469 kB / 1.268 GB, free: 29.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.755e-05/3.605, allocations: 21.62 kB / 1.268 GB, free: 29.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.568e-05/3.605, allocations: 29.06 kB / 1.268 GB, free: 29.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002919/3.608, allocations: 0.5218 MB / 1.269 GB, free: 29.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/3.61, allocations: 1.923 MB / 1.271 GB, free: 28.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002239/3.612, allocations: 198.2 kB / 1.271 GB, free: 28.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002778/3.612, allocations: 95.34 kB / 1.271 GB, free: 28.14 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004926/3.613, allocations: 163.4 kB / 1.271 GB, free: 28.03 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005856/3.613, allocations: 140.1 kB / 1.271 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005601/3.619, allocations: 2.039 MB / 1.273 GB, free: 27.86 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.633e-05/3.619, allocations: 15.98 kB / 1.273 GB, free: 27.86 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/3.619, allocations: 0 / 1.273 GB, free: 27.86 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/3.619, allocations: 3.797 kB / 1.273 GB, free: 27.86 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002468/3.622, allocations: 1.016 MB / 1.274 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/3.622, allocations: 6.5 kB / 1.274 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/3.623, allocations: 244.5 kB / 1.275 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006549/3.624, allocations: 82.31 kB / 1.275 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.924e-05/3.624, allocations: 23.55 kB / 1.275 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001737/3.625, allocations: 1.822 MB / 1.276 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/3.625, allocations: 2.719 kB / 1.276 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003921/3.629, allocations: 1.349 MB / 1.278 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004199/3.634, allocations: 1.82 MB / 1.28 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/3.635, allocations: 277 kB / 1.28 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006448/3.635, allocations: 0 / 1.28 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/3.637, allocations: 63.47 kB / 1.28 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/3.637, allocations: 51.64 kB / 1.28 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000207/3.637, allocations: 64.33 kB / 1.28 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.00145/3.639, allocations: 0.7541 MB / 1.281 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005561/3.644, allocations: 1.089 MB / 1.282 GB, free: 24.66 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003715/3.648, allocations: 1.256 MB / 1.283 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005032/3.653, allocations: 1.233 MB / 1.284 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/3.653, allocations: 4.062 kB / 1.284 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001679/3.655, allocations: 0.5353 MB / 1.285 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003457/3.658, allocations: 0.5529 MB / 1.285 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005745/3.664, allocations: 1.832 MB / 1.287 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001702/3.666, allocations: 1.472 MB / 1.289 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of SimCode: time 1.203e-06/3.666, allocations: 0 / 1.289 GB, free: 23.07 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe 2>&1)