Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.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.TestComponents.Valves.TestValveCoefficients,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.002814/0.002814, allocations: 179.8 kB / 7.455 MB, free: 2.508 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.249/1.249, allocations: 194.2 MB / 202.1 MB, free: 8.738 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.001851/0.001851, allocations: 124.7 kB / 247.1 MB, free: 6.352 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.179/0.179, allocations: 39.95 MB / 331.9 MB, free: 4.969 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.654e-06/7.664e-06, allocations: 4 kB / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1068, allocations: 54.87 MB / 447.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.943/5.05, allocations: 2.607 GB / 3.044 GB, free: 144.5 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/5.05, allocations: 83.03 kB / 3.044 GB, free: 144.5 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.985/7.034, allocations: 0.6278 GB / 3.672 GB, free: 33.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001403/7.035, allocations: 37.16 kB / 3.672 GB, free: 33.04 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: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.01077/7.045, allocations: 2.46 MB / 3.674 GB, free: 31.72 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.546e-05/7.045, allocations: 7.562 kB / 3.674 GB, free: 31.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009182/7.055, allocations: 1.016 MB / 3.675 GB, free: 31.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003208/7.058, allocations: 1.073 MB / 3.676 GB, free: 30.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/7.058, allocations: 55.56 kB / 3.676 GB, free: 30.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004162/7.059, allocations: 71.53 kB / 3.676 GB, free: 30.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002881/7.061, allocations: 1.208 MB / 3.678 GB, free: 30.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00277/7.064, allocations: 1.425 MB / 3.679 GB, free: 29.72 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/7.064, allocations: 7.594 kB / 3.679 GB, free: 29.72 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002023/7.065, allocations: 3.969 kB / 3.679 GB, free: 29.72 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/7.065, allocations: 33.53 kB / 3.679 GB, free: 29.72 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.136/8.201, allocations: 267.2 MB / 3.94 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005322/8.201, allocations: 354.3 kB / 3.94 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003136/8.202, allocations: 241.5 kB / 3.941 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03528/8.237, allocations: 15.75 MB / 3.956 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.22e-05/8.237, allocations: 37.72 kB / 3.956 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 3.486e-06/8.237, allocations: 0 / 3.956 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48): time 0.006031/8.243, allocations: 1.527 MB / 3.958 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/8.243, allocations: 271.7 kB / 3.958 GB, free: 102 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/8.245, allocations: 0.8873 MB / 3.959 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.289e-05/8.245, allocations: 26.47 kB / 3.959 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005029/8.246, allocations: 0.6512 MB / 3.959 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/8.246, allocations: 184 kB / 3.959 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.656e-05/8.246, allocations: 0 / 3.959 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001238/8.246, allocations: 352.8 kB / 3.96 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006149/8.247, allocations: 367.9 kB / 3.96 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009768/8.248, allocations: 0.943 MB / 3.961 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003435/8.251, allocations: 0.8301 MB / 3.962 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.06e-05/8.251, allocations: 3.812 kB / 3.962 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.008206/8.26, allocations: 2.62 MB / 3.964 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001831/8.261, allocations: 7.309 MB / 3.972 GB, free: 92.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.816e-05/8.261, allocations: 21.33 kB / 3.972 GB, free: 92.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.44e-05/8.261, allocations: 28.5 kB / 3.972 GB, free: 92.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/8.263, allocations: 414 kB / 3.972 GB, free: 92.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.953e-05/8.263, allocations: 36.86 kB / 3.972 GB, free: 92.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002354/8.265, allocations: 360 kB / 3.972 GB, free: 92.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001831/8.265, allocations: 93.12 kB / 3.973 GB, free: 92.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/8.265, allocations: 7 kB / 3.973 GB, free: 92.44 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004202/8.27, allocations: 1.38 MB / 3.974 GB, free: 92.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.938e-05/8.27, allocations: 16.66 kB / 3.974 GB, free: 92.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.753e-05/8.27, allocations: 32.41 kB / 3.974 GB, free: 92.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/8.271, allocations: 400.5 kB / 3.974 GB, free: 92.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-05/8.271, allocations: 38.27 kB / 3.974 GB, free: 92.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/8.273, allocations: 247.7 kB / 3.975 GB, free: 92.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/8.273, allocations: 87.39 kB / 3.975 GB, free: 92.36 MB / 0.5261 GB 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.0004151/8.274, allocations: 156.9 kB / 3.975 GB, free: 92.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002543/8.276, allocations: 0.7187 MB / 3.975 GB, free: 92.19 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00326/8.279, allocations: 1.856 MB / 3.977 GB, free: 91.83 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/8.28, allocations: 10.66 kB / 3.977 GB, free: 91.82 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/8.28, allocations: 3.938 kB / 3.977 GB, free: 91.82 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/8.28, allocations: 3.312 kB / 3.977 GB, free: 91.82 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006539/8.286, allocations: 4.52 MB / 3.982 GB, free: 90.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/8.286, allocations: 15.38 kB / 3.982 GB, free: 90.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002648/8.286, allocations: 80.62 kB / 3.982 GB, free: 90.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/8.286, allocations: 10.62 kB / 3.982 GB, free: 90.92 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.024e-05/8.286, allocations: 12.88 kB / 3.982 GB, free: 90.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.154e-05/8.286, allocations: 11.61 kB / 3.982 GB, free: 90.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/8.286, allocations: 15.72 kB / 3.982 GB, free: 90.92 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003684/8.29, allocations: 2.065 MB / 3.984 GB, free: 89.71 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/8.291, allocations: 0.6902 MB / 3.985 GB, free: 89.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005588/8.292, allocations: 13.83 kB / 3.985 GB, free: 89.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/8.293, allocations: 96.73 kB / 3.985 GB, free: 89.46 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.952e-05/8.293, allocations: 42.19 kB / 3.985 GB, free: 89.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/8.293, allocations: 21.62 kB / 3.985 GB, free: 89.45 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002226/8.296, allocations: 1.498 MB / 3.986 GB, free: 89.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009391/8.305, allocations: 1.786 MB / 3.988 GB, free: 89.18 MB / 0.5261 GB 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.01101/8.316, allocations: 2.194 MB / 3.99 GB, free: 88.87 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002976/8.319, allocations: 1.509 MB / 3.992 GB, free: 88.85 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/8.319, allocations: 384 / 3.992 GB, free: 88.85 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003929/8.319, allocations: 252.7 kB / 3.992 GB, free: 88.85 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003828/8.323, allocations: 461.1 kB / 3.992 GB, free: 88.82 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05383/8.377, allocations: 22.99 MB / 4.015 GB, free: 87.16 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001602/8.379, allocations: 1.507 MB / 4.016 GB, free: 86.42 MB / 0.5261 GB Notification: Performance of SimCode: time 1.012e-06/8.379, allocations: 0 / 4.016 GB, free: 86.42 MB / 0.5261 GB Notification: Performance of Templates: time 0.0874/8.466, allocations: 53.74 MB / 4.069 GB, free: 81.54 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe 2>&1)