Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json 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/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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008811/0.0008812, allocations: 99.94 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009233/0.0009232, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9564/0.9564, allocations: 143.3 MB / 434.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002876, allocations: 8 kB / 0.5158 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.141, allocations: 83.42 MB / 0.5973 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004057/0.1451, allocations: 3.845 MB / 0.601 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008367/0.1459, allocations: 0.7103 MB / 0.6017 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.055e-05/0.146, allocations: 0 / 0.6017 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.1461, allocations: 31.75 kB / 0.6018 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.092e-05/0.1462, allocations: 31.92 kB / 0.6018 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.1465, allocations: 131.7 kB / 0.6019 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.1467, allocations: 111.7 kB / 0.602 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.627e-05/0.1467, allocations: 17.11 kB / 0.602 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.1469, allocations: 71.75 kB / 0.6021 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.961e-05/0.147, allocations: 71.72 kB / 0.6022 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.147, allocations: 8 kB / 0.6022 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003306/0.1474, allocations: 123.9 kB / 0.6023 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.616e-05/0.1474, allocations: 19.92 kB / 0.6023 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.891e-05/0.1474, allocations: 45.64 kB / 0.6024 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.1477, allocations: 171.8 kB / 0.6025 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.1477, allocations: 0 / 0.6025 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1477, allocations: 3.938 kB / 0.6025 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.1477, allocations: 0 / 0.6025 GB, free: 2.367 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007589/0.1485, allocations: 466.8 kB / 0.603 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.1485, allocations: 8.031 kB / 0.603 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.1486, allocations: 15.81 kB / 0.603 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.1487, allocations: 174.9 kB / 0.6032 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.1487, allocations: 19.89 kB / 0.6032 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.1487, allocations: 12 kB / 0.6032 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/0.1491, allocations: 127.2 kB / 0.6033 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1491, allocations: 3.953 kB / 0.6033 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1491, allocations: 0 / 0.6033 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.1491, allocations: 8 kB / 0.6033 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00043/0.1496, allocations: 171.8 kB / 0.6035 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.1506, allocations: 468.4 kB / 0.6039 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.1509, allocations: 138.5 kB / 0.6041 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2501/0.401, allocations: 0.954 MB / 0.605 GB, free: 41.83 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.4011, allocations: 42.86 kB / 0.605 GB, free: 41.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 2.164e-06/0.4011, allocations: 0 / 0.605 GB, free: 41.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.000669/0.4017, allocations: 236.1 kB / 0.6053 GB, free: 41.76 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.4018, allocations: 54.09 kB / 0.6053 GB, free: 41.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.4019, allocations: 169.3 kB / 0.6055 GB, free: 41.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.4019, allocations: 28.45 kB / 0.6055 GB, free: 41.56 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.402, allocations: 112.3 kB / 0.6056 GB, free: 41.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.402, allocations: 45.67 kB / 0.6057 GB, free: 41.46 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.034e-05/0.402, allocations: 3.188 kB / 0.6057 GB, free: 41.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.689e-05/0.4021, allocations: 323.2 kB / 0.606 GB, free: 41.15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.4023, allocations: 90.62 kB / 0.6061 GB, free: 41.15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.4025, allocations: 117.9 kB / 0.6062 GB, free: 41.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.4027, allocations: 96.45 kB / 0.6063 GB, free: 41.12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.4027, allocations: 2.906 kB / 0.6063 GB, free: 41.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005008/0.4033, allocations: 260.3 kB / 0.6065 GB, free: 41.08 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.4033, allocations: 11.62 kB / 0.6065 GB, free: 41.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.4033, allocations: 0 / 0.6065 GB, free: 41.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.4033, allocations: 2.812 kB / 0.6065 GB, free: 41.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.4036, allocations: 62.41 kB / 0.6066 GB, free: 41.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.4036, allocations: 6.609 kB / 0.6066 GB, free: 41.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.4038, allocations: 33.34 kB / 0.6066 GB, free: 41.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.4038, allocations: 6.062 kB / 0.6066 GB, free: 41.07 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.417e-05/0.4039, allocations: 127.4 kB / 0.6068 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.4039, allocations: 21.48 kB / 0.6068 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004563/0.4044, allocations: 196.9 kB / 0.607 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.4044, allocations: 3.094 kB / 0.607 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.4044, allocations: 7.75 kB / 0.607 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4044, allocations: 0 / 0.607 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.4046, allocations: 213.7 kB / 0.6072 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.4046, allocations: 1.203 kB / 0.6072 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.4047, allocations: 38.34 kB / 0.6072 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4048, allocations: 0 / 0.6072 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.4048, allocations: 0 / 0.6072 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4048, allocations: 3.953 kB / 0.6072 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4048, allocations: 6.594 kB / 0.6072 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.4052, allocations: 274.1 kB / 0.6075 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.4052, allocations: 102.5 kB / 0.6076 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.4053, allocations: 6.312 kB / 0.6076 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.4054, allocations: 14.3 kB / 0.6076 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.4055, allocations: 24.39 kB / 0.6076 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.4055, allocations: 0.5 kB / 0.6076 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.166e-05/0.4055, allocations: 112.3 kB / 0.6077 GB, free: 40.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4055, allocations: 3.5 kB / 0.6077 GB, free: 40.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003438/0.4059, allocations: 59.84 kB / 0.6078 GB, free: 40.4 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000217/0.4061, allocations: 160.5 kB / 0.608 GB, free: 40.31 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004568/0.4066, allocations: 191.9 kB / 0.6081 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4066, allocations: 0 / 0.6081 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.4068, allocations: 83.89 kB / 0.6082 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.407, allocations: 18.5 kB / 0.6082 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004307/0.4075, allocations: 361.2 kB / 0.6086 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.4076, allocations: 0.7059 MB / 0.6093 GB, free: 39.42 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.769e-05/0.4077, allocations: 19.47 kB / 0.6093 GB, free: 39.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/0.4078, allocations: 22.23 kB / 0.6093 GB, free: 39.41 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.4078, allocations: 4 kB / 0.6093 GB, free: 39.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.004705/0.4125, allocations: 2.524 MB / 0.6118 GB, free: 39.19 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) Environment - environmentSimulation: