Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.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.Machines.TestControlledPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") [: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.001105/0.001105, allocations: 193.9 kB / 7.467 MB, free: 1.543 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.167/1.167, allocations: 194.2 MB / 202.1 MB, free: 14.33 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001762/0.001763, allocations: 108.5 kB / 247.1 MB, free: 0.5391 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1714/0.1714, allocations: 39.94 MB / 331.9 MB, free: 11.6 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 9.087e-06/9.107e-06, allocations: 0 / 392.8 MB, free: 48.38 MB / 290.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1077, allocations: 54.86 MB / 447.7 MB, free: 9.438 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.894/5.001, allocations: 2.613 GB / 3.05 GB, free: 36.19 MB / 482.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/5.002, allocations: 83.95 kB / 3.05 GB, free: 36.11 MB / 482.8 MB Notification: Performance of FrontEnd: time 2.416/7.418, allocations: 0.7541 GB / 3.805 GB, free: 16.46 MB / 498.8 MB Notification: Performance of Transformations before backend: time 9.858e-05/7.418, allocations: 39.2 kB / 3.805 GB, free: 16.43 MB / 498.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.009506/7.427, allocations: 2.736 MB / 3.807 GB, free: 13.65 MB / 498.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/7.427, allocations: 12.53 kB / 3.807 GB, free: 13.64 MB / 498.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00517/7.432, allocations: 0.681 MB / 3.808 GB, free: 12.95 MB / 498.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002054/7.435, allocations: 1.015 MB / 3.809 GB, free: 11.91 MB / 498.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.697e-05/7.435, allocations: 48 kB / 3.809 GB, free: 11.87 MB / 498.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/7.435, allocations: 67.94 kB / 3.809 GB, free: 11.8 MB / 498.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001717/7.436, allocations: 1.082 MB / 3.81 GB, free: 10.71 MB / 498.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/7.438, allocations: 1.301 MB / 3.811 GB, free: 9.262 MB / 498.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/7.438, allocations: 7.938 kB / 3.811 GB, free: 9.254 MB / 498.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/7.438, allocations: 4 kB / 3.811 GB, free: 9.25 MB / 498.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.494e-05/7.438, allocations: 46 kB / 3.811 GB, free: 9.203 MB / 498.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4113/7.85, allocations: 73.82 MB / 3.884 GB, free: 61.65 MB / 0.5027 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/7.851, allocations: 0.6924 MB / 3.884 GB, free: 61.62 MB / 0.5027 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005249/7.851, allocations: 411.5 kB / 3.885 GB, free: 61.61 MB / 0.5027 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03504/7.887, allocations: 20.25 MB / 3.904 GB, free: 48 MB / 0.5027 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.169e-05/7.887, allocations: 43.53 kB / 3.904 GB, free: 47.96 MB / 0.5027 GB Notification: Performance of pre-optimization done (n=86): time 3.146e-06/7.887, allocations: 0 / 3.904 GB, free: 47.96 MB / 0.5027 GB Notification: Performance of matching and sorting (n=120): time 0.02973/7.916, allocations: 5.011 MB / 3.909 GB, free: 47.55 MB / 0.5027 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.593e-05/7.916, allocations: 165.9 kB / 3.909 GB, free: 47.36 MB / 0.5027 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009982/7.917, allocations: 0.7121 MB / 3.91 GB, free: 47.21 MB / 0.5027 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/7.918, allocations: 25.7 kB / 3.91 GB, free: 47.18 MB / 0.5027 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/7.918, allocations: 0.4894 MB / 3.911 GB, free: 46.93 MB / 0.5027 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003203/7.918, allocations: 396.9 kB / 3.911 GB, free: 46.72 MB / 0.5027 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.435e-05/7.918, allocations: 1.312 kB / 3.911 GB, free: 46.72 MB / 0.5027 GB Notification: Performance of setup shared object (initialization): time 0.0001051/7.918, allocations: 365.1 kB / 3.911 GB, free: 46.41 MB / 0.5027 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008329/7.919, allocations: 0.5737 MB / 3.912 GB, free: 46.41 MB / 0.5027 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/7.92, allocations: 0.971 MB / 3.913 GB, free: 45.93 MB / 0.5027 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003101/7.923, allocations: 0.9225 MB / 3.914 GB, free: 45.9 MB / 0.5027 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/7.923, allocations: 8.75 kB / 3.914 GB, free: 45.9 MB / 0.5027 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.007017/7.93, allocations: 2.749 MB / 3.916 GB, free: 45.74 MB / 0.5027 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008333/7.931, allocations: 4.607 MB / 3.921 GB, free: 40.89 MB / 0.5027 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/7.931, allocations: 10.69 kB / 3.921 GB, free: 40.89 MB / 0.5027 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002685/7.934, allocations: 0.8516 MB / 3.922 GB, free: 40.84 MB / 0.5027 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/7.935, allocations: 383.4 kB / 3.922 GB, free: 40.83 MB / 0.5027 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006085/7.941, allocations: 3.604 MB / 3.926 GB, free: 38.72 MB / 0.5027 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/7.944, allocations: 235.8 kB / 3.926 GB, free: 38.7 MB / 0.5027 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002594/7.944, allocations: 90.56 kB / 3.926 GB, free: 38.7 MB / 0.5027 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/7.944, allocations: 7.531 kB / 3.926 GB, free: 38.69 MB / 0.5027 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003908/7.948, allocations: 1.476 MB / 3.927 GB, free: 38.66 MB / 0.5027 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.377e-05/7.948, allocations: 14.16 kB / 3.927 GB, free: 38.66 MB / 0.5027 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/7.948, allocations: 23.69 kB / 3.928 GB, free: 38.65 MB / 0.5027 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003177/7.951, allocations: 0.6415 MB / 3.928 GB, free: 38.64 MB / 0.5027 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.872e-05/7.951, allocations: 33.05 kB / 3.928 GB, free: 38.63 MB / 0.5027 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/7.953, allocations: 211 kB / 3.928 GB, free: 38.61 MB / 0.5027 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001858/7.953, allocations: 78.28 kB / 3.928 GB, free: 38.61 MB / 0.5027 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump1.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 12 (sink.medium.phase,pump.heatTransfer.states[1].phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,source.medium.phase,source1.medium.phase,valve1.state_b.phase,valve1.state_a.phase,pump1.monitoring.state_in.phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 138 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,3 11,1 7,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005267/7.954, allocations: 155.8 kB / 3.929 GB, free: 38.5 MB / 0.5027 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001843/7.956, allocations: 0.537 MB / 3.929 GB, free: 38.44 MB / 0.5027 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00851/7.964, allocations: 5.858 MB / 3.935 GB, free: 38 MB / 0.5027 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.365e-05/7.964, allocations: 49.48 kB / 3.935 GB, free: 38 MB / 0.5027 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/7.964, allocations: 0 / 3.935 GB, free: 38 MB / 0.5027 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/7.964, allocations: 7.406 kB / 3.935 GB, free: 38 MB / 0.5027 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01146/7.976, allocations: 7.906 MB / 3.943 GB, free: 37.26 MB / 0.5027 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/7.976, allocations: 0 / 3.943 GB, free: 37.26 MB / 0.5027 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000913/7.977, allocations: 244.3 kB / 3.943 GB, free: 37.25 MB / 0.5027 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00331/7.98, allocations: 1.657 MB / 3.944 GB, free: 37.14 MB / 0.5027 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/7.98, allocations: 32.91 kB / 3.945 GB, free: 37.14 MB / 0.5027 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005552/7.986, allocations: 4.452 MB / 3.949 GB, free: 35 MB / 0.5027 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/7.986, allocations: 7.469 kB / 3.949 GB, free: 34.99 MB / 0.5027 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00767/7.993, allocations: 4.694 MB / 3.953 GB, free: 34.39 MB / 0.5027 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/7.995, allocations: 489.2 kB / 3.954 GB, free: 34.2 MB / 0.5027 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005211/7.995, allocations: 3.938 kB / 3.954 GB, free: 34.2 MB / 0.5027 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001827/7.997, allocations: 199.7 kB / 3.954 GB, free: 34.17 MB / 0.5027 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002902/7.998, allocations: 133.5 kB / 3.954 GB, free: 34.16 MB / 0.5027 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001669/7.998, allocations: 61.16 kB / 3.954 GB, free: 34.16 MB / 0.5027 GB Notification: Performance of sort global known variables: time 0.001186/7.999, allocations: 0.6325 MB / 3.955 GB, free: 34.05 MB / 0.5027 GB Notification: Performance of remove unused functions: time 0.01111/8.01, allocations: 1.864 MB / 3.957 GB, free: 34.05 MB / 0.5027 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 30 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,sink.medium.phase,pump.heatTransfer.states[1].phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 {2 7,3 14,1 7,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01201/8.022, allocations: 2.427 MB / 3.959 GB, free: 33.67 MB / 0.5027 GB Notification: Performance of simCode: created initialization part: time 0.007358/8.029, allocations: 3.543 MB / 3.963 GB, free: 33.6 MB / 0.5027 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/8.029, allocations: 4.125 kB / 3.963 GB, free: 33.6 MB / 0.5027 GB Notification: Performance of simCode: created simulation system equations: time 0.003496/8.033, allocations: 2.383 MB / 3.965 GB, free: 33.57 MB / 0.5027 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003392/8.036, allocations: 489.7 kB / 3.965 GB, free: 33.54 MB / 0.5027 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04791/8.084, allocations: 17.99 MB / 3.983 GB, free: 32.2 MB / 0.5027 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002035/8.086, allocations: 1.614 MB / 3.985 GB, free: 31.44 MB / 0.5027 GB Notification: Performance of SimCode: time 1.192e-06/8.086, allocations: 0 / 3.985 GB, free: 31.44 MB / 0.5027 GB Notification: Performance of Templates: time 0.3924/8.479, allocations: 73.62 MB / 4.056 GB, free: 85.89 MB / 0.5027 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe 2>&1)