Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007037/0.0007038, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.0008251/0.0008251, allocations: 176.8 kB / 16.27 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.194/1.194, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8993/0.8993, allocations: 143.2 MB / 434.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003013/0.0003014, allocations: 12 kB / 0.5165 GB, free: 11.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1398, allocations: 83.42 MB / 0.598 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002028/0.1419, allocations: 1.817 MB / 0.5997 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.1433, allocations: 1.037 MB / 0.6008 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.212e-05/0.1434, allocations: 11.94 kB / 0.6008 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.167e-05/0.1435, allocations: 15.84 kB / 0.6008 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.1437, allocations: 71.42 kB / 0.6009 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.144, allocations: 145.1 kB / 0.601 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.1443, allocations: 286.8 kB / 0.6013 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.1444, allocations: 56.7 kB / 0.6013 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.1445, allocations: 99.5 kB / 0.6014 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.1447, allocations: 123.4 kB / 0.6015 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.1448, allocations: 8 kB / 0.6015 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003512/0.1451, allocations: 283.6 kB / 0.6018 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.375e-05/0.1452, allocations: 35.83 kB / 0.6018 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.1453, allocations: 129 kB / 0.602 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.1456, allocations: 327 kB / 0.6023 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1456, allocations: 7.938 kB / 0.6023 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1456, allocations: 4 kB / 0.6023 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.1456, allocations: 0 / 0.6023 GB, free: 3.172 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009239/0.1466, allocations: 0.5961 MB / 0.6029 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.1466, allocations: 12.03 kB / 0.6029 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.455e-05/0.1467, allocations: 50.73 kB / 0.6029 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.1468, allocations: 40.55 kB / 0.603 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.1471, allocations: 275.5 kB / 0.6032 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.1472, allocations: 16.66 kB / 0.6032 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.1472, allocations: 12.38 kB / 0.6033 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005216/0.1477, allocations: 257.3 kB / 0.6035 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1477, allocations: 3.938 kB / 0.6035 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.1477, allocations: 8 kB / 0.6035 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.1478, allocations: 4 kB / 0.6035 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006869/0.1485, allocations: 247.6 kB / 0.6038 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.1495, allocations: 0.9463 MB / 0.6047 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007233/0.1502, allocations: 261.2 kB / 0.6049 GB, free: 268 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003349/0.1505, allocations: 129.6 kB / 0.6051 GB, free: 132 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.1506, allocations: 8 kB / 0.6051 GB, free: 124 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.1506, allocations: 30.56 kB / 0.6051 GB, free: 84 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.1506, allocations: 0 / 0.6051 GB, free: 84 kB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.2146/0.3652, allocations: 400 kB / 0.6055 GB, free: 41.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.3652, allocations: 82.17 kB / 0.6056 GB, free: 41.22 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.3655, allocations: 270.2 kB / 0.6058 GB, free: 41.12 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.3655, allocations: 30.45 kB / 0.6058 GB, free: 41.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.595e-05/0.3655, allocations: 157.8 kB / 0.606 GB, free: 41.01 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.3656, allocations: 58.94 kB / 0.606 GB, free: 41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.3656, allocations: 26.12 kB / 0.6061 GB, free: 40.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.377e-05/0.3657, allocations: 336.5 kB / 0.6064 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.366, allocations: 114 kB / 0.6065 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/0.3663, allocations: 162.9 kB / 0.6067 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006088/0.3669, allocations: 288.1 kB / 0.6069 GB, free: 40.56 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.3669, allocations: 2.875 kB / 0.6069 GB, free: 40.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007439/0.3677, allocations: 340.5 kB / 0.6073 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3677, allocations: 9.594 kB / 0.6073 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3677, allocations: 0 / 0.6073 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.3677, allocations: 2.844 kB / 0.6073 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.368, allocations: 70.86 kB / 0.6073 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.368, allocations: 4.406 kB / 0.6073 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.3682, allocations: 54.86 kB / 0.6074 GB, free: 40.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.3682, allocations: 6.469 kB / 0.6074 GB, free: 40.51 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.829e-05/0.3683, allocations: 137.2 kB / 0.6075 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-05/0.3684, allocations: 27.53 kB / 0.6076 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007329/0.3692, allocations: 337 kB / 0.6079 GB, free: 40.33 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.3692, allocations: 2.781 kB / 0.6079 GB, free: 40.33 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3692, allocations: 2.719 kB / 0.6079 GB, free: 40.33 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3692, allocations: 4.516 kB / 0.6079 GB, free: 40.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.3695, allocations: 290.7 kB / 0.6082 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.3695, allocations: 0.5 kB / 0.6082 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002366/0.3697, allocations: 66.55 kB / 0.6082 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3697, allocations: 5.375 kB / 0.6082 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.3697, allocations: 4 kB / 0.6082 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3697, allocations: 11.91 kB / 0.6082 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3697, allocations: 0 / 0.6082 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007185/0.3705, allocations: 485.8 kB / 0.6087 GB, free: 39.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.661e-05/0.3705, allocations: 105.9 kB / 0.6088 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.3706, allocations: 1.438 kB / 0.6088 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.3708, allocations: 41.34 kB / 0.6089 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.3709, allocations: 22.5 kB / 0.6089 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.3709, allocations: 3.812 kB / 0.6089 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001184/0.371, allocations: 191.8 kB / 0.6091 GB, free: 39.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.371, allocations: 0 / 0.6091 GB, free: 39.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003095/0.3713, allocations: 57.78 kB / 0.6091 GB, free: 39.7 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009161/0.3722, allocations: 1.037 MB / 0.6101 GB, free: 38.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000665/0.3729, allocations: 267.7 kB / 0.6104 GB, free: 38.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3729, allocations: 0 / 0.6104 GB, free: 38.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003253/0.3733, allocations: 144.4 kB / 0.6105 GB, free: 38.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005285/0.3738, allocations: 69.42 kB / 0.6106 GB, free: 38.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003108/0.3769, allocations: 2.891 MB / 0.6134 GB, free: 37.28 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.3771, allocations: 0.7522 MB / 0.6141 GB, free: 36.58 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001384/0.3772, allocations: 31.53 kB / 0.6142 GB, free: 36.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.3773, allocations: 87.14 kB / 0.6143 GB, free: 36.56 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.3773, allocations: 0 / 0.6143 GB, free: 36.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.233/2.61, allocations: 5.928 MB / 0.62 GB, free: 36.22 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/2.61, allocations: 220.8 kB / 0.6203 GB, free: 35.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.437/5.048, allocations: 0 / 0.6203 GB, free: 35.97 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)