Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsParallel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Movers.Examples.PumpsParallel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsParallel") translateModel(BuildingSystems.Fluid.Movers.Examples.PumpsParallel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsParallel") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.8117/0.8117, allocations: 141.8 MB / 149.1 MB, free: 12.1 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002036/0.002036, allocations: 189.6 kB / 181.9 MB, free: 8.84 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 221.4 MB / 436 MB, free: 1.062 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 98.52 kB / 0.507 GB, free: 10.04 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001808/0.001808, allocations: 265.4 kB / 0.5884 GB, free: 6.867 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 6.933e-06/7.073e-06, allocations: 0 / 0.6759 GB, free: 13.23 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3946, allocations: 82.78 MB / 0.7567 GB, free: 138 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6962/1.091, allocations: 395.2 MB / 1.143 GB, free: 9.375 MB / 0.6825 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/1.091, allocations: 91.62 kB / 1.143 GB, free: 9.328 MB / 0.6825 GB Notification: Performance of FrontEnd: time 3.145/4.236, allocations: 0.872 GB / 2.015 GB, free: 80.21 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 0.0005081/4.237, allocations: 63.05 kB / 2.015 GB, free: 80.21 MB / 0.7138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.008295/4.245, allocations: 2.284 MB / 2.017 GB, free: 79.31 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/4.245, allocations: 16.88 kB / 2.017 GB, free: 79.3 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003295/4.248, allocations: 427.8 kB / 2.017 GB, free: 79.17 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03783/4.286, allocations: 14.74 MB / 2.032 GB, free: 78.32 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/4.286, allocations: 40.56 kB / 2.032 GB, free: 78.32 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006048/4.287, allocations: 90 kB / 2.032 GB, free: 78.32 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002996/4.29, allocations: 1.088 MB / 2.033 GB, free: 78.31 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003163/4.293, allocations: 1.297 MB / 2.034 GB, free: 78.11 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.395e-05/4.293, allocations: 5.438 kB / 2.034 GB, free: 78.11 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001969/4.293, allocations: 0 / 2.034 GB, free: 78.11 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.402e-05/4.293, allocations: 56.98 kB / 2.034 GB, free: 78.11 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01135/4.305, allocations: 7.593 MB / 2.042 GB, free: 74.18 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008903/4.306, allocations: 0.5616 MB / 2.042 GB, free: 74.15 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007698/4.307, allocations: 0.5601 MB / 2.043 GB, free: 74.14 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004889/4.311, allocations: 2.648 MB / 2.045 GB, free: 72.86 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/4.311, allocations: 40.12 kB / 2.045 GB, free: 72.82 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=90): time 3.616e-06/4.311, allocations: 2.906 kB / 2.045 GB, free: 72.82 MB / 0.7138 GB Notification: Performance of matching and sorting (n=90): time 0.003497/4.315, allocations: 1.303 MB / 2.047 GB, free: 72.66 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/4.315, allocations: 62.38 kB / 2.047 GB, free: 72.59 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002336/4.317, allocations: 1.423 MB / 2.048 GB, free: 72.38 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.0001266/4.318, allocations: 28.83 kB / 2.048 GB, free: 72.35 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003929/4.318, allocations: 0.6071 MB / 2.049 GB, free: 72.03 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003174/4.318, allocations: 308.6 kB / 2.049 GB, free: 71.83 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/4.318, allocations: 0 / 2.049 GB, free: 71.83 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 8.969e-05/4.318, allocations: 351 kB / 2.049 GB, free: 71.52 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005832/4.319, allocations: 412.3 kB / 2.05 GB, free: 71.52 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007872/4.32, allocations: 0.8484 MB / 2.051 GB, free: 70.98 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001777/4.322, allocations: 0.6218 MB / 2.051 GB, free: 70.97 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/4.322, allocations: 3.875 kB / 2.051 GB, free: 70.97 MB / 0.7138 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003599/4.325, allocations: 1.559 MB / 2.053 GB, free: 70.81 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007499/4.326, allocations: 3.775 MB / 2.056 GB, free: 66.91 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/4.326, allocations: 11.16 kB / 2.056 GB, free: 66.91 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000615/4.327, allocations: 227.7 kB / 2.057 GB, free: 66.89 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/4.328, allocations: 274.8 kB / 2.057 GB, free: 66.89 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/4.329, allocations: 0.9548 MB / 2.058 GB, free: 66.37 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/4.331, allocations: 163.7 kB / 2.058 GB, free: 66.3 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/4.331, allocations: 80.89 kB / 2.058 GB, free: 66.3 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/4.331, allocations: 6.875 kB / 2.058 GB, free: 66.3 MB / 0.7138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003019/4.334, allocations: 1.273 MB / 2.059 GB, free: 66.27 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/4.334, allocations: 14.91 kB / 2.059 GB, free: 66.27 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006388/4.335, allocations: 227.2 kB / 2.06 GB, free: 66.26 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/4.336, allocations: 262.3 kB / 2.06 GB, free: 66.26 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006307/4.342, allocations: 3.851 MB / 2.064 GB, free: 64.58 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002161/4.344, allocations: 139.5 kB / 2.064 GB, free: 64.54 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/4.345, allocations: 68.17 kB / 2.064 GB, free: 64.54 MB / 0.7138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 0 * 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 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0004232/4.345, allocations: 144.8 kB / 2.064 GB, free: 64.42 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003688/4.345, allocations: 197.6 kB / 2.064 GB, free: 64.32 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00358/4.349, allocations: 1.6 MB / 2.066 GB, free: 64.21 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/4.349, allocations: 11.81 kB / 2.066 GB, free: 64.21 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/4.349, allocations: 0 / 2.066 GB, free: 64.21 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001955/4.351, allocations: 1.16 MB / 2.067 GB, free: 64.01 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005959/4.357, allocations: 3.08 MB / 2.07 GB, free: 63.45 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/4.357, allocations: 2.531 kB / 2.07 GB, free: 63.45 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000918/4.358, allocations: 176.3 kB / 2.07 GB, free: 63.45 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003497/4.358, allocations: 148.6 kB / 2.07 GB, free: 63.44 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.328e-05/4.358, allocations: 18.08 kB / 2.07 GB, free: 63.44 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006504/4.359, allocations: 0.7987 MB / 2.071 GB, free: 62.91 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/4.359, allocations: 0 / 2.071 GB, free: 62.91 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003372/4.362, allocations: 1.967 MB / 2.073 GB, free: 62.54 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/4.364, allocations: 404 kB / 2.073 GB, free: 62.33 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005951/4.364, allocations: 11.08 kB / 2.073 GB, free: 62.33 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/4.366, allocations: 80.8 kB / 2.073 GB, free: 62.32 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/4.366, allocations: 57.09 kB / 2.073 GB, free: 62.32 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/4.366, allocations: 50.86 kB / 2.073 GB, free: 62.32 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.002463/4.368, allocations: 1.074 MB / 2.075 GB, free: 62.18 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.006684/4.375, allocations: 1.241 MB / 2.076 GB, free: 61.97 MB / 0.7138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (floMac1.vol.dynBal.U,floMac1.filter.s[1],floMac1.filter.s[2],floMac2.vol.dynBal.U,floMac2.filter.s[1],floMac2.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.003835/4.379, allocations: 1.491 MB / 2.077 GB, free: 61.61 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.004207/4.383, allocations: 1.937 MB / 2.079 GB, free: 61.47 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/4.383, allocations: 0 / 2.079 GB, free: 61.47 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0009494/4.384, allocations: 0.5282 MB / 2.08 GB, free: 61.46 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004508/4.389, allocations: 0.8157 MB / 2.08 GB, free: 61.45 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007517/4.396, allocations: 2.798 MB / 2.083 GB, free: 60.71 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001547/4.398, allocations: 1.769 MB / 2.085 GB, free: 59.97 MB / 0.7138 GB Notification: Performance of SimCode: time 1.052e-06/4.398, allocations: 0 / 2.085 GB, free: 59.97 MB / 0.7138 GB Notification: Performance of Templates: time 0.08934/4.487, allocations: 50.7 MB / 2.134 GB, free: 56.88 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsParallel.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsParallel.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsParallel.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsParallel.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsParallel.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsParallel -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsParallel.pipe 2>&1)