Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.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.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes") [: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.7987/0.7987, allocations: 141.8 MB / 149.1 MB, free: 4.473 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 177 kB / 181.9 MB, free: 144 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 221.3 MB / 436 MB, free: 9.293 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.001161/0.00116, allocations: 99 kB / 0.507 GB, free: 24.26 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001845/0.001845, allocations: 275.5 kB / 0.5884 GB, free: 12.3 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.317e-06/9.437e-06, allocations: 0 / 0.6759 GB, free: 2.66 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5053/0.5053, allocations: 82.76 MB / 0.7567 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.306/1.811, allocations: 440.1 MB / 1.186 GB, free: 184.9 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/1.811, allocations: 98.59 kB / 1.187 GB, free: 184.9 MB / 0.6982 GB Notification: Performance of FrontEnd: time 3.482/5.293, allocations: 0.9525 GB / 2.139 GB, free: 54.64 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 0.0008504/5.294, allocations: 134.9 kB / 2.139 GB, free: 54.62 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: 1031 * Number of variables: 1031 Notification: Performance of Generate backend data structure: time 0.02218/5.317, allocations: 4.711 MB / 2.144 GB, free: 52.8 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/5.317, allocations: 6.969 kB / 2.144 GB, free: 52.8 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005442/5.322, allocations: 0.588 MB / 2.144 GB, free: 52.52 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01576/5.338, allocations: 4.083 MB / 2.148 GB, free: 51.78 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003733/5.338, allocations: 123.4 kB / 2.148 GB, free: 51.78 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002364/5.341, allocations: 234.9 kB / 2.149 GB, free: 51.78 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01489/5.356, allocations: 5.089 MB / 2.154 GB, free: 51.76 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01706/5.373, allocations: 5.525 MB / 2.159 GB, free: 50.9 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001412/5.373, allocations: 15.62 kB / 2.159 GB, free: 50.89 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00089/5.374, allocations: 7.844 kB / 2.159 GB, free: 50.89 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003742/5.374, allocations: 412.2 kB / 2.159 GB, free: 50.84 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0418/5.416, allocations: 25.02 MB / 2.184 GB, free: 33.43 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008586/5.425, allocations: 3.974 MB / 2.188 GB, free: 32.2 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004783/5.429, allocations: 2.297 MB / 2.19 GB, free: 31.38 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0285/5.458, allocations: 12.41 MB / 2.202 GB, free: 23.53 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004701/5.463, allocations: 2.145 MB / 2.204 GB, free: 22.8 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=310): time 6.802e-06/5.463, allocations: 0 / 2.204 GB, free: 22.8 MB / 0.7138 GB Notification: Performance of matching and sorting (n=334): time 0.1007/5.564, allocations: 18.67 MB / 2.222 GB, free: 10.45 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/5.564, allocations: 112.2 kB / 2.223 GB, free: 10.32 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005339/5.569, allocations: 2.225 MB / 2.225 GB, free: 8.336 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.001318/5.57, allocations: 34.39 kB / 2.225 GB, free: 8.297 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001832/5.572, allocations: 1.525 MB / 2.226 GB, free: 6.965 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002189/5.574, allocations: 1.113 MB / 2.227 GB, free: 5.938 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/5.575, allocations: 0.6875 kB / 2.227 GB, free: 5.938 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.000373/5.576, allocations: 468.8 kB / 2.228 GB, free: 5.52 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003642/5.579, allocations: 1.884 MB / 2.23 GB, free: 3.852 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004039/5.583, allocations: 2.91 MB / 2.233 GB, free: 0.8125 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03626/5.62, allocations: 5.924 MB / 2.238 GB, free: 13.77 MB / 0.7294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.536e-05/5.62, allocations: 8 kB / 2.238 GB, free: 13.77 MB / 0.7294 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.04085/5.661, allocations: 8.093 MB / 2.246 GB, free: 5.641 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 0.005692/5.667, allocations: 11.92 MB / 2.258 GB, free: 8.941 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001177/5.667, allocations: 30.42 kB / 2.258 GB, free: 8.914 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001027/5.667, allocations: 52 kB / 2.258 GB, free: 8.863 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04066/5.707, allocations: 3.861 MB / 2.262 GB, free: 5.004 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4482/6.156, allocations: 5.51 MB / 2.267 GB, free: 124.7 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006363/6.162, allocations: 297.3 kB / 2.267 GB, free: 124.7 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001225/6.163, allocations: 201 kB / 2.268 GB, free: 124.7 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/6.163, allocations: 3.812 kB / 2.268 GB, free: 124.7 MB / 0.745 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0209/6.184, allocations: 6.143 MB / 2.274 GB, free: 124.6 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.427e-05/6.184, allocations: 30.06 kB / 2.274 GB, free: 124.6 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.852e-05/6.184, allocations: 56.89 kB / 2.274 GB, free: 124.6 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006512/6.191, allocations: 1.338 MB / 2.275 GB, free: 124.6 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.54e-05/6.191, allocations: 66.41 kB / 2.275 GB, free: 124.6 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005058/6.196, allocations: 286.4 kB / 2.275 GB, free: 124.6 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000699/6.197, allocations: 200.9 kB / 2.275 GB, free: 124.6 MB / 0.745 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (512): * Single equations (assignments): 506 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001273/6.198, allocations: 217.2 kB / 2.276 GB, free: 124.5 MB / 0.745 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001037/6.199, allocations: 369.3 kB / 2.276 GB, free: 124.5 MB / 0.745 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03229/6.232, allocations: 8.219 MB / 2.284 GB, free: 124.3 MB / 0.745 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.003e-05/6.232, allocations: 46.69 kB / 2.284 GB, free: 124.3 MB / 0.745 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/6.232, allocations: 0 / 2.284 GB, free: 124.3 MB / 0.745 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02893/6.261, allocations: 6.978 MB / 2.291 GB, free: 124 MB / 0.745 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05343/6.314, allocations: 17.56 MB / 2.308 GB, free: 122.5 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.992e-05/6.314, allocations: 16.03 kB / 2.308 GB, free: 122.5 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03584/6.35, allocations: 3.485 MB / 2.311 GB, free: 122.5 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.824e-05/6.35, allocations: 32.03 kB / 2.312 GB, free: 122.5 MB / 0.745 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001255/6.351, allocations: 68.5 kB / 2.312 GB, free: 122.5 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01203/6.363, allocations: 5.373 MB / 2.317 GB, free: 119 MB / 0.745 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.283e-05/6.364, allocations: 29.5 kB / 2.317 GB, free: 119 MB / 0.745 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03922/6.403, allocations: 12.46 MB / 2.329 GB, free: 116.1 MB / 0.745 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003671/6.406, allocations: 0.9375 MB / 2.33 GB, free: 116 MB / 0.745 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001855/6.408, allocations: 38.58 kB / 2.33 GB, free: 116 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004909/6.413, allocations: 195.8 kB / 2.33 GB, free: 116 MB / 0.745 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008613/6.414, allocations: 259.2 kB / 2.33 GB, free: 116 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009298/6.415, allocations: 174 kB / 2.331 GB, free: 116 MB / 0.745 GB Notification: Performance of sort global known variables: time 0.003883/6.419, allocations: 1.612 MB / 2.332 GB, free: 115.9 MB / 0.745 GB Notification: Performance of remove unused functions: time 0.01176/6.431, allocations: 2.395 MB / 2.334 GB, free: 115.9 MB / 0.745 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * Number of states: 17 (pip0.mediums[1].T,pip0.mediums[2].T,pip1.mediums[1].T,pip1.mediums[2].T,pip2.mediums[1].T,pip2.mediums[2].T,pip3.mediums[1].T,pip3.mediums[2].T,pip4.mediums[1].T,pip4.mediums[2].T,pip5.mediums[1].T,pip5.mediums[2].T,senTem_p2.T,senTem_p3.T,senTemIn_p2.T,senTem_p1.T,senTem_p4.T) * Number of discrete variables: 4 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (395): * Single equations (assignments): 371 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00435/6.435, allocations: 1.78 MB / 2.336 GB, free: 115.7 MB / 0.745 GB Notification: Performance of simCode: created initialization part: time 0.06337/6.499, allocations: 11.29 MB / 2.347 GB, free: 115.6 MB / 0.745 GB Notification: Performance of simCode: created event and clocks part: time 3.108e-05/6.499, allocations: 8.25 kB / 2.347 GB, free: 115.6 MB / 0.745 GB Notification: Performance of simCode: created simulation system equations: time 0.0543/6.553, allocations: 6.258 MB / 2.353 GB, free: 115.6 MB / 0.745 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008445/6.561, allocations: 1.275 MB / 2.355 GB, free: 115.6 MB / 0.745 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02046/6.582, allocations: 9.035 MB / 2.363 GB, free: 113.6 MB / 0.745 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005795/6.588, allocations: 3.607 MB / 2.367 GB, free: 112.8 MB / 0.745 GB Notification: Performance of SimCode: time 1.493e-06/6.588, allocations: 0 / 2.367 GB, free: 112.8 MB / 0.745 GB Notification: Performance of Templates: time 0.1895/6.777, allocations: 101.3 MB / 2.466 GB, free: 107.1 MB / 0.745 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1)