Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes") translateModel(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 183.8 kB / 7.802 MB, free: 140 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4601/0.4601, allocations: 90.85 MB / 99.07 MB, free: 3.305 MB / 78.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 221.4 MB / 342.8 MB, free: 10.24 MB / 286.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 86.69 kB / 415.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 9.858e-06/9.878e-06, allocations: 4 kB / 493.9 MB, free: 15.56 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3728, allocations: 72.3 MB / 0.5529 GB, free: 46.43 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8976/1.27, allocations: 432.9 MB / 0.9757 GB, free: 222.2 MB / 0.6075 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/1.271, allocations: 92.25 kB / 0.9758 GB, free: 222.2 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.211/4.481, allocations: 0.9525 GB / 1.928 GB, free: 45.96 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.00053/4.482, allocations: 138.8 kB / 1.928 GB, free: 45.94 MB / 0.6387 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.02044/4.502, allocations: 4.722 MB / 1.933 GB, free: 44.27 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/4.502, allocations: 8.688 kB / 1.933 GB, free: 44.27 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004266/4.507, allocations: 0.5884 MB / 1.934 GB, free: 43.99 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01188/4.519, allocations: 4.076 MB / 1.938 GB, free: 43.27 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001895/4.519, allocations: 120.4 kB / 1.938 GB, free: 43.27 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001417/4.52, allocations: 233.4 kB / 1.938 GB, free: 43.26 MB / 0.6387 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009316/4.53, allocations: 5.09 MB / 1.943 GB, free: 43.24 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01282/4.542, allocations: 5.527 MB / 1.948 GB, free: 42.44 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001228/4.543, allocations: 9.531 kB / 1.948 GB, free: 42.44 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006108/4.543, allocations: 12.28 kB / 1.948 GB, free: 42.44 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003654/4.544, allocations: 411.9 kB / 1.949 GB, free: 42.43 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03426/4.578, allocations: 25.02 MB / 1.973 GB, free: 29.02 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005796/4.584, allocations: 3.964 MB / 1.977 GB, free: 28.97 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002757/4.586, allocations: 2.307 MB / 1.979 GB, free: 28.94 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02028/4.607, allocations: 12.41 MB / 1.991 GB, free: 23.48 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003486/4.61, allocations: 2.14 MB / 1.993 GB, free: 23.38 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=310): time 6.943e-06/4.61, allocations: 0 / 1.993 GB, free: 23.38 MB / 0.6387 GB Notification: Performance of matching and sorting (n=334): time 0.09355/4.704, allocations: 18.68 MB / 2.012 GB, free: 22.04 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.75e-05/4.704, allocations: 113.5 kB / 2.012 GB, free: 21.94 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003743/4.708, allocations: 2.225 MB / 2.014 GB, free: 21.67 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.00124/4.709, allocations: 32.17 kB / 2.014 GB, free: 21.64 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001238/4.71, allocations: 1.511 MB / 2.015 GB, free: 20.78 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001515/4.712, allocations: 1.115 MB / 2.017 GB, free: 20.05 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/4.712, allocations: 2.969 kB / 2.017 GB, free: 20.05 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001896/4.712, allocations: 467.2 kB / 2.017 GB, free: 19.73 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002686/4.715, allocations: 1.89 MB / 2.019 GB, free: 19.72 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003151/4.718, allocations: 2.906 MB / 2.022 GB, free: 18.62 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.027/4.745, allocations: 5.289 MB / 2.027 GB, free: 18.58 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-05/4.745, allocations: 7.406 kB / 2.027 GB, free: 18.58 MB / 0.6387 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.0333/4.779, allocations: 8.101 MB / 2.035 GB, free: 18.28 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.003406/4.782, allocations: 11.91 MB / 2.046 GB, free: 21.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.058e-05/4.782, allocations: 33.88 kB / 2.046 GB, free: 21.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.127e-05/4.782, allocations: 52.06 kB / 2.046 GB, free: 21.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0373/4.82, allocations: 3.865 MB / 2.05 GB, free: 21.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/4.832, allocations: 5.51 MB / 2.056 GB, free: 18.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006237/4.839, allocations: 299.1 kB / 2.056 GB, free: 18.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001258/4.84, allocations: 201.8 kB / 2.056 GB, free: 18.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/4.84, allocations: 3.969 kB / 2.056 GB, free: 18.41 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02151/4.862, allocations: 6.143 MB / 2.062 GB, free: 18.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-05/4.862, allocations: 31.72 kB / 2.062 GB, free: 18.33 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-05/4.862, allocations: 54.34 kB / 2.062 GB, free: 18.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00635/4.868, allocations: 1.337 MB / 2.064 GB, free: 18.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.242e-05/4.868, allocations: 64.61 kB / 2.064 GB, free: 18.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004854/4.873, allocations: 287.7 kB / 2.064 GB, free: 18.31 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007164/4.874, allocations: 197.6 kB / 2.064 GB, free: 18.31 MB / 0.6544 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.001343/4.875, allocations: 220.4 kB / 2.064 GB, free: 18.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001019/4.876, allocations: 369.2 kB / 2.065 GB, free: 18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03158/4.908, allocations: 8.222 MB / 2.073 GB, free: 17.8 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-05/4.908, allocations: 41.47 kB / 2.073 GB, free: 17.8 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/4.908, allocations: 0 / 2.073 GB, free: 17.8 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02867/4.936, allocations: 6.977 MB / 2.079 GB, free: 17.47 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04925/4.986, allocations: 17.55 MB / 2.097 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.49e-05/4.986, allocations: 17.09 kB / 2.097 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0354/5.021, allocations: 3.496 MB / 2.1 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.438e-05/5.021, allocations: 32.56 kB / 2.1 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007133/5.022, allocations: 66.47 kB / 2.1 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01202/5.034, allocations: 5.368 MB / 2.105 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.812e-05/5.034, allocations: 27.19 kB / 2.105 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03487/5.069, allocations: 12.48 MB / 2.118 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0041/5.073, allocations: 0.9346 MB / 2.119 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001517/5.075, allocations: 42.86 kB / 2.119 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003779/5.079, allocations: 195.2 kB / 2.119 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004312/5.079, allocations: 250.9 kB / 2.119 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003807/5.079, allocations: 187.4 kB / 2.119 GB, free: 7.832 MB / 0.6544 GB Notification: Performance of sort global known variables: time 0.002365/5.082, allocations: 1.606 MB / 2.121 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.009054/5.091, allocations: 2.406 MB / 2.123 GB, free: 4.594 MB / 0.6544 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.003557/5.094, allocations: 1.771 MB / 2.125 GB, free: 3.32 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.07759/5.172, allocations: 12.52 MB / 2.137 GB, free: 14.58 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.897e-05/5.172, allocations: 5 kB / 2.137 GB, free: 14.58 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.05561/5.228, allocations: 6.261 MB / 2.143 GB, free: 10.24 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009285/5.237, allocations: 1.274 MB / 2.144 GB, free: 9.516 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0261/5.263, allocations: 9.03 MB / 2.153 GB, free: 1.754 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3268/5.59, allocations: 3.872 MB / 2.157 GB, free: 109.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.312e-06/5.59, allocations: 0 / 2.157 GB, free: 109.8 MB / 0.67 GB Notification: Performance of Templates: time 0.1645/5.755, allocations: 101.2 MB / 2.256 GB, free: 105.9 MB / 0.67 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1)