Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) 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) 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) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.Pipe") [: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/Buildings 1.6.0+build.1/package.mo): time 0.49/0.49, allocations: 94.74 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001148/0.001148, allocations: 183 kB / 125.3 MB, free: 11.99 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.277/1.277, allocations: 170.5 MB / 319 MB, free: 9.523 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001697/0.001697, allocations: 109.9 kB / 381 MB, free: 2.074 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.204e-06/7.234e-06, allocations: 0 / 448.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.144, allocations: 61.52 MB / 0.4981 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.202/1.346, allocations: 435.7 MB / 0.9236 GB, free: 165.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/1.346, allocations: 85.03 kB / 0.9237 GB, free: 165.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.189/3.536, allocations: 0.6102 GB / 1.534 GB, free: 58.62 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.001255/3.537, allocations: 154.9 kB / 1.534 GB, free: 58.59 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1124 * Number of variables: 1124 Notification: Performance of Generate backend data structure: time 0.01948/3.557, allocations: 4.766 MB / 1.539 GB, free: 56.95 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/3.557, allocations: 11.34 kB / 1.539 GB, free: 56.94 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006979/3.564, allocations: 0.7143 MB / 1.539 GB, free: 56.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07568/3.639, allocations: 28.24 MB / 1.567 GB, free: 54.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005743/3.64, allocations: 215.6 kB / 1.567 GB, free: 54.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002629/3.643, allocations: 277.2 kB / 1.567 GB, free: 54.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01391/3.657, allocations: 5.142 MB / 1.572 GB, free: 54.77 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02331/3.68, allocations: 5.871 MB / 1.578 GB, free: 54.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003835/3.68, allocations: 5.344 kB / 1.578 GB, free: 54.18 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00245/3.683, allocations: 10.38 kB / 1.578 GB, free: 54.18 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001932/3.683, allocations: 107.8 kB / 1.578 GB, free: 54.18 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05659/3.74, allocations: 24.15 MB / 1.602 GB, free: 44.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004672/3.744, allocations: 2.426 MB / 1.604 GB, free: 44.91 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004184/3.749, allocations: 2.043 MB / 1.606 GB, free: 44.88 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/3.75, allocations: 1.054 MB / 1.607 GB, free: 43.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.92e-05/3.75, allocations: 72.83 kB / 1.607 GB, free: 43.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=268): time 6.222e-06/3.75, allocations: 0 / 1.607 GB, free: 43.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=328): time 0.03412/3.784, allocations: 9.998 MB / 1.617 GB, free: 42.19 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/3.784, allocations: 136 kB / 1.617 GB, free: 42.06 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008625/3.793, allocations: 3.703 MB / 1.621 GB, free: 41.75 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001039/3.794, allocations: 29.67 kB / 1.621 GB, free: 41.72 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002085/3.796, allocations: 1.729 MB / 1.623 GB, free: 40.76 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002261/3.798, allocations: 1.104 MB / 1.624 GB, free: 40.03 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006622/3.799, allocations: 0 / 1.624 GB, free: 40.03 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003911/3.799, allocations: 465.4 kB / 1.624 GB, free: 39.72 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003177/3.803, allocations: 1.879 MB / 1.626 GB, free: 39.13 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003659/3.806, allocations: 2.88 MB / 1.629 GB, free: 37.29 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005417/3.812, allocations: 2.665 MB / 1.631 GB, free: 36.46 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.886e-05/3.812, allocations: 11.44 kB / 1.631 GB, free: 36.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=497) (initialization): time 0.01238/3.824, allocations: 5.304 MB / 1.637 GB, free: 34.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.003627/3.828, allocations: 13.12 MB / 1.649 GB, free: 21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001029/3.828, allocations: 29.28 kB / 1.649 GB, free: 21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001045/3.828, allocations: 53.5 kB / 1.649 GB, free: 21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005268/3.833, allocations: 1.017 MB / 1.65 GB, free: 20.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/3.835, allocations: 1.28 MB / 1.652 GB, free: 35.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006041/3.841, allocations: 213.2 kB / 1.652 GB, free: 35.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001184/3.842, allocations: 177.8 kB / 1.652 GB, free: 35.72 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/3.842, allocations: 3.781 kB / 1.652 GB, free: 35.72 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01137/3.853, allocations: 4.802 MB / 1.657 GB, free: 34.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001166/3.853, allocations: 36.69 kB / 1.657 GB, free: 34.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.484e-05/3.854, allocations: 55.25 kB / 1.657 GB, free: 34.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004246/3.858, allocations: 0.9662 MB / 1.658 GB, free: 34.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.767e-05/3.858, allocations: 64.95 kB / 1.658 GB, free: 34.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005278/3.863, allocations: 211.5 kB / 1.658 GB, free: 34.26 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001007/3.864, allocations: 172.9 kB / 1.658 GB, free: 34.23 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (497): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001888/3.866, allocations: 209.9 kB / 1.658 GB, free: 34.04 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002189/3.868, allocations: 430.6 kB / 1.659 GB, free: 33.82 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/3.88, allocations: 4.596 MB / 1.663 GB, free: 32.36 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.274e-05/3.88, allocations: 33.12 kB / 1.663 GB, free: 32.36 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.133e-05/3.88, allocations: 0 / 1.663 GB, free: 32.36 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.634e-05/3.88, allocations: 20.84 kB / 1.663 GB, free: 32.36 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01346/3.894, allocations: 4.414 MB / 1.668 GB, free: 30.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.089e-05/3.894, allocations: 0 / 1.668 GB, free: 30.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004439/3.898, allocations: 0.7538 MB / 1.668 GB, free: 30.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.139e-05/3.898, allocations: 14.22 kB / 1.668 GB, free: 30.66 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006961/3.899, allocations: 51.72 kB / 1.668 GB, free: 30.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009815/3.9, allocations: 1.22 MB / 1.67 GB, free: 29.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/3.9, allocations: 0 / 1.67 GB, free: 29.46 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01257/3.913, allocations: 7.092 MB / 1.677 GB, free: 24.12 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002752/3.915, allocations: 0.6006 MB / 1.677 GB, free: 23.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002106/3.918, allocations: 18.58 kB / 1.677 GB, free: 23.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005004/3.923, allocations: 201.1 kB / 1.677 GB, free: 23.41 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004782/3.923, allocations: 165.8 kB / 1.678 GB, free: 23.31 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007145/3.924, allocations: 145.8 kB / 1.678 GB, free: 23.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.005904/3.93, allocations: 2.831 MB / 1.68 GB, free: 20.75 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01267/3.942, allocations: 2.363 MB / 1.683 GB, free: 18.4 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 22 (pip.vol[1].dynBal.medium.T,pip.vol[2].dynBal.medium.T,pip.vol[3].dynBal.medium.T,pip.vol[4].dynBal.medium.T,pip.vol[5].dynBal.medium.T,pip.vol[6].dynBal.medium.T,pip.vol[7].dynBal.medium.T,pip.vol[8].dynBal.medium.T,pip.vol[9].dynBal.medium.T,pip.vol[10].dynBal.medium.T,pip1.vol[1].dynBal.medium.T,pip1.vol[2].dynBal.medium.T,pip1.vol[3].dynBal.medium.T,pip1.vol[4].dynBal.medium.T,pip1.vol[5].dynBal.medium.T,pip1.vol[6].dynBal.medium.T,pip1.vol[7].dynBal.medium.T,pip1.vol[8].dynBal.medium.T,pip1.vol[9].dynBal.medium.T,pip1.vol[10].dynBal.medium.T,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (330): * Single equations (assignments): 326 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00225/3.945, allocations: 0.6775 MB / 1.683 GB, free: 17.91 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01204/3.957, allocations: 7.119 MB / 1.69 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/3.957, allocations: 5.75 kB / 1.69 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003979/3.961, allocations: 2.096 MB / 1.692 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01552/3.976, allocations: 2.748 MB / 1.695 GB, free: 7.914 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3035/4.28, allocations: 11.28 MB / 1.706 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006621/4.287, allocations: 4.525 MB / 1.711 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of SimCode: time 1.263e-06/4.287, allocations: 0 / 1.711 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of Templates: time 0.2211/4.508, allocations: 126.1 MB / 1.834 GB, free: 87.38 MB / 0.5417 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)