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.001043/0.001043, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.9662/0.9662, allocations: 143 MB / 433.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 71.88 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1291, allocations: 82.04 MB / 0.5944 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003152/0.1323, allocations: 2.121 MB / 0.5965 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.1339, allocations: 1.021 MB / 0.5975 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.134, allocations: 7.938 kB / 0.5975 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.372e-05/0.1341, allocations: 23.67 kB / 0.5975 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002848/0.1344, allocations: 83.28 kB / 0.5976 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004241/0.1348, allocations: 194.4 kB / 0.5978 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002978/0.1351, allocations: 298.8 kB / 0.5981 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.1353, allocations: 60.98 kB / 0.5981 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.1354, allocations: 107.6 kB / 0.5982 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.1356, allocations: 147.3 kB / 0.5984 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.67e-05/0.1357, allocations: 23.94 kB / 0.5984 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003865/0.1361, allocations: 295.6 kB / 0.5987 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.833e-05/0.1361, allocations: 43.83 kB / 0.5987 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.1362, allocations: 123.3 kB / 0.5988 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003408/0.1366, allocations: 330.8 kB / 0.5991 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1366, allocations: 0 / 0.5991 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1366, allocations: 0 / 0.5991 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.1366, allocations: 0 / 0.5991 GB, free: 4.637 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.001024/0.1376, allocations: 0.6271 MB / 0.5997 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.1377, allocations: 8.031 kB / 0.5998 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.957e-05/0.1377, allocations: 50.73 kB / 0.5998 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001994/0.1379, allocations: 36.56 kB / 0.5998 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.1382, allocations: 279.5 kB / 0.6001 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.1382, allocations: 16.64 kB / 0.6001 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.1383, allocations: 16.38 kB / 0.6001 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005142/0.1388, allocations: 233.2 kB / 0.6004 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1388, allocations: 3.938 kB / 0.6004 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.1388, allocations: 4 kB / 0.6004 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1389, allocations: 4 kB / 0.6004 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006775/0.1395, allocations: 203.7 kB / 0.6006 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.1406, allocations: 0.9384 MB / 0.6015 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007691/0.1414, allocations: 241.2 kB / 0.6017 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003381/0.1417, allocations: 109.6 kB / 0.6018 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.1418, allocations: 0 / 0.6018 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.1418, allocations: 42.5 kB / 0.6019 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.062e-06/0.1418, allocations: 0 / 0.6019 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001174/0.143, allocations: 333.4 kB / 0.6022 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.143, allocations: 85.11 kB / 0.6023 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.1433, allocations: 266.9 kB / 0.6025 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.1433, allocations: 33.7 kB / 0.6025 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.019e-05/0.1434, allocations: 156.2 kB / 0.6027 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.195e-05/0.1435, allocations: 55.19 kB / 0.6027 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.691e-05/0.1435, allocations: 37.7 kB / 0.6028 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1436, allocations: 342.8 kB / 0.6031 GB, free: 296 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003361/0.144, allocations: 87.92 kB / 0.6032 GB, free: 208 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003504/0.1443, allocations: 149 kB / 0.6033 GB, free: 40 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2243/0.3687, allocations: 231.9 kB / 0.6035 GB, free: 44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.3687, allocations: 2.094 kB / 0.6036 GB, free: 44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008424/0.3695, allocations: 291.9 kB / 0.6038 GB, free: 43.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3696, allocations: 9.688 kB / 0.6038 GB, free: 43.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3696, allocations: 0.5312 kB / 0.6038 GB, free: 43.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.3696, allocations: 4.625 kB / 0.6038 GB, free: 43.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.3699, allocations: 65.27 kB / 0.6039 GB, free: 43.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.3699, allocations: 3.438 kB / 0.6039 GB, free: 43.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.3701, allocations: 38.42 kB / 0.6039 GB, free: 43.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.3702, allocations: 9.531 kB / 0.604 GB, free: 43.97 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 9.207e-05/0.3703, allocations: 132.8 kB / 0.6041 GB, free: 43.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.3704, allocations: 31.56 kB / 0.6041 GB, free: 43.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007679/0.3712, allocations: 289 kB / 0.6044 GB, free: 43.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3712, allocations: 3.969 kB / 0.6044 GB, free: 43.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3712, allocations: 1.297 kB / 0.6044 GB, free: 43.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3712, allocations: 5.062 kB / 0.6044 GB, free: 43.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.3715, allocations: 305.4 kB / 0.6047 GB, free: 43.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.3715, allocations: 0 / 0.6047 GB, free: 43.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.3717, allocations: 53.55 kB / 0.6047 GB, free: 43.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3718, allocations: 6.047 kB / 0.6047 GB, free: 43.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.3718, allocations: 4.812 kB / 0.6048 GB, free: 43.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3718, allocations: 0 / 0.6048 GB, free: 43.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3718, allocations: 2.062 kB / 0.6048 GB, free: 43.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007414/0.3725, allocations: 446.3 kB / 0.6052 GB, free: 43.42 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/0.3726, allocations: 108.5 kB / 0.6053 GB, free: 43.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.3726, allocations: 3.297 kB / 0.6053 GB, free: 43.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.3729, allocations: 28.97 kB / 0.6053 GB, free: 43.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.373, allocations: 17.56 kB / 0.6053 GB, free: 43.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.373, allocations: 9.5 kB / 0.6053 GB, free: 43.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001284/0.3731, allocations: 193.2 kB / 0.6055 GB, free: 43.24 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3731, allocations: 0 / 0.6055 GB, free: 43.24 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003437/0.3735, allocations: 56.38 kB / 0.6056 GB, free: 43.24 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.000939/0.3744, allocations: 0.9866 MB / 0.6065 GB, free: 42.49 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00072/0.3751, allocations: 241.4 kB / 0.6068 GB, free: 42.49 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3752, allocations: 0 / 0.6068 GB, free: 42.49 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003364/0.3755, allocations: 120.4 kB / 0.6069 GB, free: 42.49 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005752/0.3761, allocations: 71.84 kB / 0.607 GB, free: 42.49 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00321/0.3793, allocations: 2.707 MB / 0.6096 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.3794, allocations: 0.7496 MB / 0.6103 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001352/0.3796, allocations: 31.38 kB / 0.6104 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.3797, allocations: 88.02 kB / 0.6104 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.3797, allocations: 2.625 kB / 0.6104 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.3995, allocations: 6.494 MB / 0.6168 GB, free: 39.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.234/7.633, allocations: 8.438 kB / 0.6168 GB, free: 39.72 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv --start-time 0 --stop-time 80 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.032 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)