Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15") [: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.2+maint.om/package.mo): time 0.005862/0.005862, allocations: 182.7 kB / 7.458 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.63/1.63, allocations: 194.2 MB / 202.1 MB, free: 8.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00195/0.00195, allocations: 120 kB / 247.1 MB, free: 6.309 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2308/0.2308, allocations: 39.94 MB / 331.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.005e-06/8.226e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1506, allocations: 54.86 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.848/1.999, allocations: 0.6542 GB / 1.091 GB, free: 116.9 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003523/2, allocations: 73.47 kB / 1.091 GB, free: 116.8 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.248/4.247, allocations: 0.5372 GB / 1.629 GB, free: 36.98 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004082/4.248, allocations: 61.59 kB / 1.629 GB, free: 36.97 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: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 0.01317/4.261, allocations: 3.025 MB / 1.632 GB, free: 35.69 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/4.261, allocations: 7.438 kB / 1.632 GB, free: 35.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004486/4.266, allocations: 448.5 kB / 1.632 GB, free: 35.56 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007635/4.273, allocations: 1.952 MB / 1.634 GB, free: 35.11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/4.273, allocations: 56.22 kB / 1.634 GB, free: 35.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001122/4.275, allocations: 104.2 kB / 1.634 GB, free: 35.11 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005616/4.28, allocations: 2.175 MB / 1.636 GB, free: 35.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006915/4.287, allocations: 2.403 MB / 1.639 GB, free: 34.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.974e-05/4.287, allocations: 7.375 kB / 1.639 GB, free: 34.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007145/4.288, allocations: 11.06 kB / 1.639 GB, free: 34.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002126/4.288, allocations: 165 kB / 1.639 GB, free: 34.67 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02009/4.308, allocations: 11.41 MB / 1.65 GB, free: 28.31 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001928/4.31, allocations: 1.027 MB / 1.651 GB, free: 28.28 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/4.312, allocations: 0.9852 MB / 1.652 GB, free: 28.26 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/4.313, allocations: 456.8 kB / 1.652 GB, free: 27.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001797/4.315, allocations: 1.065 MB / 1.653 GB, free: 27.86 MB / 490.7 MB Notification: Performance of pre-optimization done (n=153): time 5.21e-06/4.315, allocations: 0 / 1.653 GB, free: 27.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=173): time 0.04423/4.359, allocations: 9.443 MB / 1.663 GB, free: 26.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/4.359, allocations: 265 kB / 1.663 GB, free: 26.67 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00336/4.363, allocations: 1.08 MB / 1.664 GB, free: 26.49 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005798/4.363, allocations: 29.52 kB / 1.664 GB, free: 26.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001024/4.364, allocations: 0.6685 MB / 1.665 GB, free: 26.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009078/4.365, allocations: 0.5624 MB / 1.665 GB, free: 25.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003583/4.366, allocations: 6.625 kB / 1.665 GB, free: 25.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001964/4.366, allocations: 382 kB / 1.665 GB, free: 25.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001893/4.368, allocations: 0.9938 MB / 1.666 GB, free: 25.39 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002121/4.37, allocations: 1.427 MB / 1.668 GB, free: 24.96 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01066/4.381, allocations: 2.42 MB / 1.67 GB, free: 24.94 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.801e-05/4.381, allocations: 3.5 kB / 1.67 GB, free: 24.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01549/4.396, allocations: 4.061 MB / 1.674 GB, free: 24.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001078/4.397, allocations: 4.172 MB / 1.678 GB, free: 20.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.316e-05/4.397, allocations: 10.56 kB / 1.678 GB, free: 20.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004729/4.398, allocations: 174.2 kB / 1.678 GB, free: 20.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002598/4.4, allocations: 0.5337 MB / 1.679 GB, free: 20.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/4.402, allocations: 2.367 MB / 1.681 GB, free: 18.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002856/4.405, allocations: 173.1 kB / 1.681 GB, free: 18.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005507/4.405, allocations: 185.3 kB / 1.682 GB, free: 18.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/4.405, allocations: 3.594 kB / 1.682 GB, free: 18.36 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01333/4.419, allocations: 3.536 MB / 1.685 GB, free: 18.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.792e-05/4.419, allocations: 11.19 kB / 1.685 GB, free: 18.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004485/4.419, allocations: 174.4 kB / 1.685 GB, free: 18.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002662/4.422, allocations: 0.5335 MB / 1.686 GB, free: 18.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/4.423, allocations: 2.362 MB / 1.688 GB, free: 16.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00265/4.426, allocations: 164.4 kB / 1.688 GB, free: 16.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005244/4.426, allocations: 187.4 kB / 1.688 GB, free: 16.16 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (247): * Single equations (assignments): 241 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0009565/4.427, allocations: 222.9 kB / 1.689 GB, free: 15.97 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008157/4.428, allocations: 198.4 kB / 1.689 GB, free: 15.87 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01893/4.447, allocations: 4.235 MB / 1.693 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.899e-05/4.447, allocations: 18.56 kB / 1.693 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.697e-05/4.447, allocations: 0 / 1.693 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0141/4.461, allocations: 3.493 MB / 1.696 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0232/4.485, allocations: 6.787 MB / 1.703 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.542e-05/4.485, allocations: 8.875 kB / 1.703 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002142/4.487, allocations: 400.4 kB / 1.703 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004913/4.487, allocations: 168.2 kB / 1.704 GB, free: 12.51 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004665/4.488, allocations: 77.08 kB / 1.704 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002367/4.49, allocations: 3.033 MB / 1.707 GB, free: 25.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/4.49, allocations: 7.562 kB / 1.707 GB, free: 25.62 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01713/4.507, allocations: 5.27 MB / 1.712 GB, free: 23.42 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001789/4.509, allocations: 0.5073 MB / 1.712 GB, free: 23.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008961/4.51, allocations: 23.94 kB / 1.712 GB, free: 22.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002053/4.512, allocations: 95.08 kB / 1.712 GB, free: 22.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003507/4.513, allocations: 140.2 kB / 1.712 GB, free: 22.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003678/4.513, allocations: 148.2 kB / 1.713 GB, free: 22.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.001699/4.515, allocations: 0.8005 MB / 1.713 GB, free: 21.99 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008819/4.524, allocations: 1.787 MB / 1.715 GB, free: 20.25 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 8 (pipe1.mediums[1].p,pipe1.mediums[1].T,pipe2.mediums[1].p,pipe2.mediums[1].T,pipe3.mediums[1].p,pipe3.mediums[1].T,junctionIdeal.medium.p,junctionIdeal.medium.T) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * Number of discrete states: 12 (valveOpening2.nextEvent,valveOpening2.last,valveOpening2.nextEventScaled,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.nextEvent,valveOpening1.last,valveOpening1.nextEventScaled,valveOpening1.b,valveOpening1.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (181): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008056/4.532, allocations: 2.68 MB / 1.718 GB, free: 18.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008571/4.54, allocations: 3.96 MB / 1.722 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-05/4.54, allocations: 0 / 1.722 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002836/4.543, allocations: 1.377 MB / 1.723 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005115/4.548, allocations: 0.7523 MB / 1.724 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02029/4.569, allocations: 5.615 MB / 1.729 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005386/4.574, allocations: 2.134 MB / 1.731 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of SimCode: time 1.403e-06/4.574, allocations: 3.938 kB / 1.731 GB, free: 6.375 MB / 0.4948 GB Notification: Performance of Templates: time 0.3952/4.969, allocations: 71.9 MB / 1.801 GB, free: 98.88 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe 2>&1)