Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.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.TestValveCompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") [: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.005116/0.005116, allocations: 178.2 kB / 7.452 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.396/1.396, allocations: 170.6 MB / 178.4 MB, free: 15.7 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.001725/0.001725, allocations: 112.5 kB / 217.7 MB, free: 8.48 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.2055/0.2055, allocations: 37.97 MB / 294.8 MB, free: 9.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.19e-05/1.192e-05, allocations: 2.25 kB / 349.5 MB, free: 37.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1394, allocations: 48.71 MB / 398.2 MB, free: 5.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.579/6.718, allocations: 2.496 GB / 2.885 GB, free: 15.94 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/6.719, allocations: 83.95 kB / 2.885 GB, free: 15.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.091/7.81, allocations: 227.9 MB / 3.107 GB, free: 62.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.406e-05/7.81, allocations: 19.98 kB / 3.107 GB, free: 62.07 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.007201/7.817, allocations: 1.259 MB / 3.108 GB, free: 61.37 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/7.817, allocations: 10.69 kB / 3.108 GB, free: 61.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002442/7.82, allocations: 260.8 kB / 3.109 GB, free: 61.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/7.821, allocations: 437.1 kB / 3.109 GB, free: 61.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.486e-05/7.821, allocations: 12.62 kB / 3.109 GB, free: 61.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.593e-05/7.821, allocations: 19.08 kB / 3.109 GB, free: 61.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006637/7.822, allocations: 348.9 kB / 3.109 GB, free: 61.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006877/7.822, allocations: 419.4 kB / 3.11 GB, free: 60.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/7.822, allocations: 5.219 kB / 3.11 GB, free: 60.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.343e-05/7.823, allocations: 3.938 kB / 3.11 GB, free: 60.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/7.823, allocations: 7.594 kB / 3.11 GB, free: 60.96 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006721/7.829, allocations: 4.027 MB / 3.114 GB, free: 58.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00066/7.83, allocations: 281.6 kB / 3.114 GB, free: 58.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/7.83, allocations: 125.1 kB / 3.114 GB, free: 58.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1287/7.959, allocations: 53.83 MB / 3.167 GB, free: 27.69 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.903e-05/7.959, allocations: 35.81 kB / 3.167 GB, free: 27.65 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 3.446e-06/7.959, allocations: 0 / 3.167 GB, free: 27.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=27): time 0.002532/7.962, allocations: 0.5473 MB / 3.167 GB, free: 27.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/7.962, allocations: 115 kB / 3.167 GB, free: 27.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005826/7.962, allocations: 292.2 kB / 3.168 GB, free: 27.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.225e-05/7.962, allocations: 25.7 kB / 3.168 GB, free: 27.31 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/7.962, allocations: 204.7 kB / 3.168 GB, free: 27.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/7.963, allocations: 92.67 kB / 3.168 GB, free: 27.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-05/7.963, allocations: 0 / 3.168 GB, free: 27.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/7.963, allocations: 346.2 kB / 3.168 GB, free: 26.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/7.963, allocations: 118.9 kB / 3.168 GB, free: 26.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/7.963, allocations: 276.9 kB / 3.169 GB, free: 26.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/7.964, allocations: 250.8 kB / 3.169 GB, free: 26.58 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/7.964, allocations: 0 / 3.169 GB, free: 26.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002125/7.967, allocations: 0.6808 MB / 3.17 GB, free: 26.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005695/7.967, allocations: 1.836 MB / 3.171 GB, free: 24.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.166e-05/7.967, allocations: 3.844 kB / 3.171 GB, free: 24.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.169e-05/7.967, allocations: 7.594 kB / 3.171 GB, free: 24.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004882/7.968, allocations: 120.5 kB / 3.172 GB, free: 24.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.832e-05/7.968, allocations: 11.34 kB / 3.172 GB, free: 24.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000638/7.968, allocations: 75.8 kB / 3.172 GB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.954e-05/7.968, allocations: 23.05 kB / 3.172 GB, free: 24.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/7.969, allocations: 3.969 kB / 3.172 GB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001193/7.97, allocations: 414.2 kB / 3.172 GB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/7.97, allocations: 7.688 kB / 3.172 GB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/7.97, allocations: 7.844 kB / 3.172 GB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004308/7.97, allocations: 119.4 kB / 3.172 GB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/7.97, allocations: 7.781 kB / 3.172 GB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005032/7.971, allocations: 54.48 kB / 3.172 GB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.601e-05/7.971, allocations: 27.06 kB / 3.172 GB, free: 24.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0001755/7.971, allocations: 120.7 kB / 3.172 GB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006584/7.972, allocations: 206.5 kB / 3.173 GB, free: 24.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003082/7.975, allocations: 1.764 MB / 3.174 GB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.79e-05/7.975, allocations: 22.38 kB / 3.174 GB, free: 23.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/7.975, allocations: 4.781 kB / 3.174 GB, free: 23.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/7.975, allocations: 0 / 3.174 GB, free: 23.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004232/7.979, allocations: 2.311 MB / 3.177 GB, free: 22.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/7.979, allocations: 4.062 kB / 3.177 GB, free: 22.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003485/7.979, allocations: 75.72 kB / 3.177 GB, free: 22.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.187e-05/7.979, allocations: 1.344 kB / 3.177 GB, free: 22.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/7.98, allocations: 8.469 kB / 3.177 GB, free: 22.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/7.98, allocations: 3.219 kB / 3.177 GB, free: 22.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/7.98, allocations: 5.281 kB / 3.177 GB, free: 22.31 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002658/7.982, allocations: 1.453 MB / 3.178 GB, free: 21.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003789/7.983, allocations: 215.8 kB / 3.178 GB, free: 21.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/7.983, allocations: 2.938 kB / 3.178 GB, free: 21.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000408/7.983, allocations: 38.95 kB / 3.178 GB, free: 21.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.938e-05/7.983, allocations: 37.88 kB / 3.178 GB, free: 21.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.639e-05/7.983, allocations: 15.03 kB / 3.178 GB, free: 21.49 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0003894/7.984, allocations: 258.3 kB / 3.179 GB, free: 21.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007549/7.991, allocations: 1.138 MB / 3.18 GB, free: 21.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,SinkP1.medium.phase,SourceP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.01246/8.004, allocations: 1.567 MB / 3.181 GB, free: 20.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002237/8.006, allocations: 0.9462 MB / 3.182 GB, free: 20.33 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/8.006, allocations: 1 kB / 3.182 GB, free: 20.33 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001267/8.007, allocations: 0.6883 MB / 3.183 GB, free: 19.99 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/8.009, allocations: 183.7 kB / 3.183 GB, free: 19.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05513/8.064, allocations: 20.91 MB / 3.203 GB, free: 6.328 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006036/8.065, allocations: 1.002 MB / 3.204 GB, free: 5.402 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/8.065, allocations: 0 / 3.204 GB, free: 5.402 MB / 426.7 MB Notification: Performance of Templates: time 0.3402/8.405, allocations: 34.52 MB / 3.238 GB, free: 107.1 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe 2>&1)