Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3") translateModel(IDEAS.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3") [: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 4.0.0+maint.om/package.mo): time 0.002028/0.002028, allocations: 176.8 kB / 7.461 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.59/0.59, allocations: 133.5 MB / 141.4 MB, free: 15.73 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.118/1.118, allocations: 221.3 MB / 395 MB, free: 10.23 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008803/0.0008803, allocations: 103.1 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.411e-06/5.431e-06, allocations: 0 / 0.5528 GB, free: 89.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1102, allocations: 82.3 MB / 0.6332 GB, free: 14.18 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7293/0.8395, allocations: 363.9 MB / 0.9885 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/0.8397, allocations: 91.73 kB / 0.9886 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.592/2.432, allocations: 0.7013 GB / 1.69 GB, free: 69.18 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002071/2.432, allocations: 58.66 kB / 1.69 GB, free: 69.13 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.003407/2.436, allocations: 1.828 MB / 1.692 GB, free: 67.28 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/2.436, allocations: 12.02 kB / 1.692 GB, free: 67.27 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/2.437, allocations: 299.3 kB / 1.692 GB, free: 66.98 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004923/2.442, allocations: 2.559 MB / 1.695 GB, free: 64.43 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.536e-05/2.442, allocations: 35.91 kB / 1.695 GB, free: 64.39 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/2.442, allocations: 64 kB / 1.695 GB, free: 64.33 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00123/2.443, allocations: 0.8474 MB / 1.695 GB, free: 63.48 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/2.445, allocations: 1.098 MB / 1.697 GB, free: 62.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/2.445, allocations: 0 / 1.697 GB, free: 62.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.919e-05/2.445, allocations: 4 kB / 1.697 GB, free: 62.31 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/2.445, allocations: 24 kB / 1.697 GB, free: 62.29 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005411/2.45, allocations: 6.556 MB / 1.703 GB, free: 55.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006644/2.451, allocations: 0.5672 MB / 1.704 GB, free: 54.83 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003645/2.451, allocations: 382.7 kB / 1.704 GB, free: 54.45 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002044/2.453, allocations: 1.676 MB / 1.706 GB, free: 52.66 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003414/2.454, allocations: 320.4 kB / 1.706 GB, free: 52.33 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 1.703e-06/2.454, allocations: 0 / 1.706 GB, free: 52.33 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.00157/2.455, allocations: 0.8396 MB / 1.707 GB, free: 51.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.966e-05/2.455, allocations: 63.83 kB / 1.707 GB, free: 51.42 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/2.456, allocations: 1.387 MB / 1.708 GB, free: 50.04 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.084e-05/2.457, allocations: 28.7 kB / 1.708 GB, free: 50.01 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002597/2.457, allocations: 0.5415 MB / 1.709 GB, free: 49.46 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/2.457, allocations: 165.6 kB / 1.709 GB, free: 49.29 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/2.457, allocations: 0 / 1.709 GB, free: 49.29 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.799e-05/2.457, allocations: 334 kB / 1.709 GB, free: 48.96 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/2.457, allocations: 265.7 kB / 1.709 GB, free: 48.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004167/2.458, allocations: 0.6908 MB / 1.71 GB, free: 47.82 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000846/2.459, allocations: 426.9 kB / 1.71 GB, free: 47.42 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/2.459, allocations: 4 kB / 1.71 GB, free: 47.42 MB / 0.6823 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001789/2.46, allocations: 1.141 MB / 1.712 GB, free: 46.28 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005114/2.461, allocations: 4.068 MB / 1.716 GB, free: 41.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/2.461, allocations: 11.41 kB / 1.716 GB, free: 41.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002462/2.461, allocations: 124.8 kB / 1.716 GB, free: 41.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006317/2.462, allocations: 179.1 kB / 1.716 GB, free: 41.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004858/2.462, allocations: 0.7954 MB / 1.717 GB, free: 40.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009727/2.463, allocations: 131 kB / 1.717 GB, free: 40.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.285e-05/2.463, allocations: 47.98 kB / 1.717 GB, free: 40.62 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.222e-06/2.463, allocations: 7.25 kB / 1.717 GB, free: 40.61 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001469/2.465, allocations: 0.9351 MB / 1.718 GB, free: 39.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/2.465, allocations: 12 kB / 1.718 GB, free: 39.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001742/2.465, allocations: 112.7 kB / 1.718 GB, free: 39.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005502/2.466, allocations: 174.2 kB / 1.718 GB, free: 39.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/2.467, allocations: 1.988 MB / 1.72 GB, free: 37.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008362/2.468, allocations: 105.4 kB / 1.72 GB, free: 37.19 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.617e-05/2.468, allocations: 45.3 kB / 1.72 GB, free: 37.15 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001379/2.468, allocations: 140.6 kB / 1.72 GB, free: 37 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/2.468, allocations: 165.9 kB / 1.72 GB, free: 36.84 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/2.47, allocations: 0.9851 MB / 1.721 GB, free: 35.87 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/2.47, allocations: 11.94 kB / 1.721 GB, free: 35.86 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/2.47, allocations: 0 / 1.721 GB, free: 35.86 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009792/2.471, allocations: 0.8946 MB / 1.722 GB, free: 34.89 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/2.473, allocations: 1.947 MB / 1.724 GB, free: 32.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/2.473, allocations: 4 kB / 1.724 GB, free: 32.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004612/2.474, allocations: 95.92 kB / 1.724 GB, free: 32.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001687/2.474, allocations: 105 kB / 1.724 GB, free: 32.71 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.691e-05/2.474, allocations: 15.88 kB / 1.724 GB, free: 32.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003564/2.474, allocations: 0.7507 MB / 1.725 GB, free: 31.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/2.474, allocations: 0 / 1.725 GB, free: 31.92 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001422/2.476, allocations: 1.302 MB / 1.726 GB, free: 30.59 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000383/2.476, allocations: 310.8 kB / 1.727 GB, free: 30.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/2.476, allocations: 4 kB / 1.727 GB, free: 30.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006995/2.477, allocations: 75.83 kB / 1.727 GB, free: 30.19 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.463e-05/2.477, allocations: 40.31 kB / 1.727 GB, free: 30.15 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-05/2.477, allocations: 27.97 kB / 1.727 GB, free: 30.12 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0009313/2.478, allocations: 1.064 MB / 1.728 GB, free: 29.07 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001887/2.48, allocations: 0.8421 MB / 1.729 GB, free: 28.23 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009396/2.481, allocations: 0.7637 MB / 1.729 GB, free: 27.54 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001416/2.482, allocations: 1.305 MB / 1.731 GB, free: 26.22 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/2.482, allocations: 0 / 1.731 GB, free: 26.22 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003642/2.483, allocations: 313.9 kB / 1.731 GB, free: 25.91 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001984/2.485, allocations: 0.5957 MB / 1.732 GB, free: 25.34 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/2.488, allocations: 2.289 MB / 1.734 GB, free: 23.02 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008769/2.489, allocations: 1.669 MB / 1.735 GB, free: 21.32 MB / 0.6823 GB Notification: Performance of SimCode: time 2.8e-07/2.489, allocations: 0 / 1.735 GB, free: 21.32 MB / 0.6823 GB Notification: Performance of Templates: time 0.2183/2.707, allocations: 33.21 MB / 1.768 GB, free: 173.6 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1)