Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0/package.mo): time 0.6776/0.6776, allocations: 127.4 MB / 134.6 MB, free: 4.098 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001191/0.001191, allocations: 185.2 kB / 164.4 MB, free: 6.898 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.1 MB / 399.1 MB, free: 6.156 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001346/0.001346, allocations: 94.55 kB / 476.3 MB, free: 8.906 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.706e-06/8.736e-06, allocations: 0 / 0.546 GB, free: 42.78 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2104, allocations: 76.75 MB / 0.6209 GB, free: 13.96 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.307/1.518, allocations: 429.4 MB / 1.04 GB, free: 52.61 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/1.518, allocations: 96 kB / 1.04 GB, free: 52.56 MB / 0.6198 GB Notification: Performance of FrontEnd: time 6.628/8.146, allocations: 1.299 GB / 2.34 GB, free: 12.91 MB / 0.6981 GB Notification: Performance of Transformations before backend: time 0.008937/8.155, allocations: 0.5398 MB / 2.34 GB, free: 12.39 MB / 0.6981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1039 * Number of variables: 1039 Notification: Performance of Generate backend data structure: time 0.5853/8.741, allocations: 25.85 MB / 2.365 GB, free: 79.23 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/8.741, allocations: 6.844 kB / 2.365 GB, free: 79.23 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02019/8.761, allocations: 4.283 MB / 2.37 GB, free: 76.85 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1185/8.88, allocations: 27.92 MB / 2.397 GB, free: 71.89 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004036/8.88, allocations: 125.8 kB / 2.397 GB, free: 71.89 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003003/8.883, allocations: 239.1 kB / 2.397 GB, free: 71.88 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0156/8.899, allocations: 5.098 MB / 2.402 GB, free: 71.86 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01925/8.918, allocations: 5.468 MB / 2.408 GB, free: 71.04 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000325/8.918, allocations: 11.03 kB / 2.408 GB, free: 71.04 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002068/8.921, allocations: 12.44 kB / 2.408 GB, free: 71.04 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006154/8.921, allocations: 409 kB / 2.408 GB, free: 71.03 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1427/9.064, allocations: 49.53 MB / 2.456 GB, free: 56.65 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008247/9.072, allocations: 3.952 MB / 2.46 GB, free: 56.61 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003641/9.076, allocations: 2.25 MB / 2.462 GB, free: 56.59 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0587/9.135, allocations: 19.33 MB / 2.481 GB, free: 51.19 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003423/9.138, allocations: 2.163 MB / 2.483 GB, free: 51.07 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=302): time 5.841e-06/9.138, allocations: 3.516 kB / 2.483 GB, free: 51.07 MB / 0.7138 GB Notification: Performance of matching and sorting (n=326): time 0.1321/9.27, allocations: 27.58 MB / 2.51 GB, free: 43.43 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.179e-05/9.27, allocations: 115.9 kB / 2.51 GB, free: 43.33 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.413/10.68, allocations: 72.46 MB / 2.581 GB, free: 28.42 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.001993/10.69, allocations: 29.7 kB / 2.581 GB, free: 28.38 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0176/10.7, allocations: 6.728 MB / 2.588 GB, free: 23.08 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002828/10.71, allocations: 1.093 MB / 2.589 GB, free: 22.07 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001435/10.71, allocations: 0 / 2.589 GB, free: 22.07 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.0005885/10.71, allocations: 475.2 kB / 2.589 GB, free: 21.65 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004453/10.71, allocations: 1.881 MB / 2.591 GB, free: 19.98 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005201/10.72, allocations: 2.919 MB / 2.594 GB, free: 16.95 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0279/10.75, allocations: 5.288 MB / 2.599 GB, free: 13.15 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001086/10.75, allocations: 8 kB / 2.599 GB, free: 13.14 MB / 0.7138 GB Notification: Performance of matching and sorting (n=516) (initialization): time 0.6655/11.41, allocations: 12.32 MB / 2.611 GB, free: 86.53 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.01628/11.43, allocations: 44.38 MB / 2.655 GB, free: 73.82 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001693/11.43, allocations: 29.03 kB / 2.655 GB, free: 73.82 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001445/11.43, allocations: 55.47 kB / 2.655 GB, free: 73.82 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04148/11.47, allocations: 3.866 MB / 2.658 GB, free: 73.82 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01456/11.48, allocations: 5.511 MB / 2.664 GB, free: 70.32 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03129/11.52, allocations: 298 kB / 2.664 GB, free: 70.32 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002632/11.52, allocations: 200.6 kB / 2.664 GB, free: 70.32 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/11.52, allocations: 7.062 kB / 2.664 GB, free: 70.32 MB / 0.745 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02499/11.54, allocations: 6.141 MB / 2.67 GB, free: 70.24 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001271/11.54, allocations: 30.84 kB / 2.67 GB, free: 70.24 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.588e-05/11.54, allocations: 54.94 kB / 2.67 GB, free: 70.24 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007646/11.55, allocations: 1.344 MB / 2.672 GB, free: 70.24 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001415/11.55, allocations: 65.98 kB / 2.672 GB, free: 70.24 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02746/11.58, allocations: 292.9 kB / 2.672 GB, free: 70.24 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002282/11.58, allocations: 203 kB / 2.672 GB, free: 70.24 MB / 0.745 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 130 * 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 (516): * Single equations (assignments): 510 * 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.001974/11.58, allocations: 212.4 kB / 2.672 GB, free: 70.14 MB / 0.745 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02394/11.61, allocations: 4.048 MB / 2.676 GB, free: 70.14 MB / 0.745 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05845/11.67, allocations: 12.84 MB / 2.689 GB, free: 69.57 MB / 0.745 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.055e-05/11.67, allocations: 46.11 kB / 2.689 GB, free: 69.57 MB / 0.745 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.54e-05/11.67, allocations: 0 / 2.689 GB, free: 69.57 MB / 0.745 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03125/11.7, allocations: 6.907 MB / 2.696 GB, free: 69.24 MB / 0.745 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1635/11.86, allocations: 41.24 MB / 2.736 GB, free: 67.32 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-05/11.86, allocations: 14.72 kB / 2.736 GB, free: 67.32 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03636/11.9, allocations: 3.477 MB / 2.739 GB, free: 67.32 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.364e-05/11.9, allocations: 27.66 kB / 2.739 GB, free: 67.32 MB / 0.745 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001138/11.9, allocations: 62.77 kB / 2.739 GB, free: 67.32 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01314/11.91, allocations: 5.368 MB / 2.745 GB, free: 79.83 MB / 0.7606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.147e-05/11.91, allocations: 26.34 kB / 2.745 GB, free: 79.83 MB / 0.7606 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07068/11.98, allocations: 30.83 MB / 2.775 GB, free: 76.21 MB / 0.7763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03294/12.02, allocations: 8.25 MB / 2.783 GB, free: 73.82 MB / 0.7763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02242/12.04, allocations: 32.2 kB / 2.783 GB, free: 73.82 MB / 0.7763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02456/12.06, allocations: 195 kB / 2.783 GB, free: 73.81 MB / 0.7763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00212/12.06, allocations: 244 kB / 2.783 GB, free: 73.79 MB / 0.7763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001793/12.07, allocations: 144.5 kB / 2.783 GB, free: 73.79 MB / 0.7763 GB Notification: Performance of sort global known variables: time 0.1727/12.24, allocations: 57.02 MB / 2.839 GB, free: 72.42 MB / 0.7763 GB Notification: Performance of remove unused functions: time 0.05549/12.29, allocations: 8.951 MB / 2.848 GB, free: 72.42 MB / 0.7763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 (386): * Single equations (assignments): 363 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * 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.005263/12.3, allocations: 1.744 MB / 2.85 GB, free: 72.25 MB / 0.7763 GB Notification: Performance of simCode: created initialization part: time 0.07092/12.37, allocations: 13.2 MB / 2.863 GB, free: 68.39 MB / 0.7763 GB Notification: Performance of simCode: created event and clocks part: time 2.683e-05/12.37, allocations: 4 kB / 2.863 GB, free: 68.39 MB / 0.7763 GB Notification: Performance of simCode: created simulation system equations: time 0.05766/12.43, allocations: 6.211 MB / 2.869 GB, free: 64.34 MB / 0.7763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03582/12.46, allocations: 3.064 MB / 2.872 GB, free: 62.17 MB / 0.7763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.858/13.32, allocations: 79.16 MB / 2.949 GB, free: 127 MB / 0.7763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.07394/13.4, allocations: 20.73 MB / 2.969 GB, free: 125.1 MB / 0.7763 GB Notification: Performance of SimCode: time 2.234e-06/13.4, allocations: 0 / 2.969 GB, free: 125.1 MB / 0.7763 GB Notification: Performance of Templates: time 6.047/19.44, allocations: 418.1 MB / 3.377 GB, free: 101.1 MB / 0.7763 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1)