Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") [: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.1+maint.om/package.mo): time 0.004442/0.004442, allocations: 180.9 kB / 7.454 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.644/1.644, allocations: 170.6 MB / 178.4 MB, free: 15.4 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001899/0.0019, allocations: 119.8 kB / 217.7 MB, free: 8.16 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2565/0.2565, allocations: 37.97 MB / 294.8 MB, free: 9.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.197e-06/9.237e-06, allocations: 1.531 kB / 349.5 MB, free: 37.11 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1328, allocations: 48.71 MB / 398.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.561/6.694, allocations: 2.496 GB / 2.885 GB, free: 16.39 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/6.694, allocations: 79.95 kB / 2.885 GB, free: 16.31 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.556/9.25, allocations: 0.6139 GB / 3.499 GB, free: 27.91 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001765/9.25, allocations: 40.91 kB / 3.499 GB, free: 27.9 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.01103/9.261, allocations: 2.38 MB / 3.501 GB, free: 26.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/9.261, allocations: 11.38 kB / 3.501 GB, free: 26.6 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009267/9.271, allocations: 0.9574 MB / 3.502 GB, free: 26.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003646/9.274, allocations: 1.07 MB / 3.503 GB, free: 25.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/9.274, allocations: 54.31 kB / 3.503 GB, free: 25.86 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004619/9.275, allocations: 68.97 kB / 3.504 GB, free: 25.86 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002873/9.278, allocations: 1.211 MB / 3.505 GB, free: 25.42 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003511/9.281, allocations: 1.411 MB / 3.506 GB, free: 24.62 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.897e-05/9.281, allocations: 10.41 kB / 3.506 GB, free: 24.61 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002815/9.282, allocations: 9.375 kB / 3.506 GB, free: 24.61 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.377e-05/9.282, allocations: 32.81 kB / 3.506 GB, free: 24.61 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.411/10.69, allocations: 267 MB / 3.767 GB, free: 88.72 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008009/10.69, allocations: 356.2 kB / 3.767 GB, free: 88.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004323/10.69, allocations: 231.3 kB / 3.767 GB, free: 88.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0443/10.74, allocations: 15.75 MB / 3.783 GB, free: 80.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.188e-05/10.74, allocations: 45.41 kB / 3.783 GB, free: 80.28 MB / 490.7 MB Notification: Performance of pre-optimization done (n=48): time 7.444e-06/10.74, allocations: 0 / 3.783 GB, free: 80.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=48): time 0.007219/10.75, allocations: 1.527 MB / 3.784 GB, free: 80.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/10.75, allocations: 269.5 kB / 3.785 GB, free: 79.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002702/10.75, allocations: 0.8859 MB / 3.785 GB, free: 79.78 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00016/10.75, allocations: 25.7 kB / 3.786 GB, free: 79.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009943/10.75, allocations: 0.6533 MB / 3.786 GB, free: 79.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004122/10.75, allocations: 173.5 kB / 3.786 GB, free: 79.33 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/10.75, allocations: 0 / 3.786 GB, free: 79.33 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000251/10.75, allocations: 368.3 kB / 3.787 GB, free: 79.02 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007535/10.75, allocations: 364.4 kB / 3.787 GB, free: 79.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/10.75, allocations: 0.9387 MB / 3.788 GB, free: 78.27 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003591/10.76, allocations: 0.8353 MB / 3.789 GB, free: 78.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.861e-05/10.76, allocations: 5.094 kB / 3.789 GB, free: 78.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.008728/10.76, allocations: 2.616 MB / 3.791 GB, free: 78.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00279/10.77, allocations: 7.309 MB / 3.798 GB, free: 70.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.88e-05/10.77, allocations: 18.78 kB / 3.798 GB, free: 70.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.577e-05/10.77, allocations: 26.66 kB / 3.798 GB, free: 70.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/10.77, allocations: 406.7 kB / 3.799 GB, free: 70.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.738e-05/10.77, allocations: 38.31 kB / 3.799 GB, free: 70.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002547/10.77, allocations: 366.3 kB / 3.799 GB, free: 70.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/10.77, allocations: 86.05 kB / 3.799 GB, free: 70.37 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/10.77, allocations: 7.938 kB / 3.799 GB, free: 70.37 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004099/10.78, allocations: 1.378 MB / 3.801 GB, free: 70.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/10.78, allocations: 21.34 kB / 3.801 GB, free: 70.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/10.78, allocations: 27.25 kB / 3.801 GB, free: 70.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/10.78, allocations: 404.9 kB / 3.801 GB, free: 70.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.846e-05/10.78, allocations: 43.73 kB / 3.801 GB, free: 70.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/10.78, allocations: 238.6 kB / 3.801 GB, free: 70.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/10.78, allocations: 87.8 kB / 3.801 GB, free: 70.29 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 16 (SourceP4.medium.phase,SinkP4.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP1.medium.phase,SinkP1.medium.phase,V4.state_b.phase,V4.state_a.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 167 * 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.0003722/10.78, allocations: 158.3 kB / 3.802 GB, free: 70.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00243/10.78, allocations: 0.7237 MB / 3.802 GB, free: 70.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003841/10.79, allocations: 1.859 MB / 3.804 GB, free: 69.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/10.79, allocations: 5.047 kB / 3.804 GB, free: 69.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/10.79, allocations: 0 / 3.804 GB, free: 69.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/10.79, allocations: 6.031 kB / 3.804 GB, free: 69.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007429/10.79, allocations: 4.525 MB / 3.809 GB, free: 68.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.778e-05/10.79, allocations: 8.156 kB / 3.809 GB, free: 68.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/10.79, allocations: 83.94 kB / 3.809 GB, free: 68.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-05/10.79, allocations: 10.66 kB / 3.809 GB, free: 68.83 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-05/10.79, allocations: 16.81 kB / 3.809 GB, free: 68.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.737e-05/10.79, allocations: 15.48 kB / 3.809 GB, free: 68.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-05/10.79, allocations: 10.19 kB / 3.809 GB, free: 68.82 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004182/10.8, allocations: 2.055 MB / 3.811 GB, free: 67.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001511/10.8, allocations: 0.6928 MB / 3.811 GB, free: 67.38 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007526/10.8, allocations: 19.28 kB / 3.811 GB, free: 67.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/10.8, allocations: 92.05 kB / 3.812 GB, free: 67.37 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.473e-05/10.8, allocations: 44.14 kB / 3.812 GB, free: 67.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.234e-05/10.8, allocations: 27.8 kB / 3.812 GB, free: 67.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.002783/10.8, allocations: 1.493 MB / 3.813 GB, free: 67.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01232/10.82, allocations: 1.789 MB / 3.815 GB, free: 67.09 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * 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 Backend phase and start with SimCode phase: time 0.01596/10.83, allocations: 2.187 MB / 3.817 GB, free: 66.76 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004811/10.84, allocations: 1.507 MB / 3.818 GB, free: 66.74 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.193e-05/10.84, allocations: 0 / 3.818 GB, free: 66.74 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006351/10.84, allocations: 258.8 kB / 3.819 GB, free: 66.74 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004443/10.84, allocations: 451.2 kB / 3.819 GB, free: 66.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05651/10.9, allocations: 22.21 MB / 3.841 GB, free: 65.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001499/10.9, allocations: 1.505 MB / 3.842 GB, free: 64.32 MB / 490.7 MB Notification: Performance of SimCode: time 1.553e-06/10.9, allocations: 0 / 3.842 GB, free: 64.32 MB / 490.7 MB Notification: Performance of Templates: time 0.09095/10.99, allocations: 53.5 MB / 3.894 GB, free: 46.5 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe 2>&1)