Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.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.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",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.001356/0.001356, 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.001592/0.001592, allocations: 193.3 kB / 16.53 MB, free: 6.699 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.421/1.421, allocations: 222.9 MB / 240.2 MB, free: 4.371 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 1.096/1.096, allocations: 143.1 MB / 433.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001359, allocations: 67.91 kB / 0.5143 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1395, allocations: 82.04 MB / 0.5944 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4497/0.5893, allocations: 161.4 MB / 0.752 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007271/0.5966, allocations: 4.565 MB / 0.7564 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004852/0.5971, allocations: 11.94 kB / 0.7565 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005597/0.5978, allocations: 123.1 kB / 0.7566 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.599, allocations: 326.4 kB / 0.7569 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009885/0.6, allocations: 276.7 kB / 0.7571 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008139/0.6008, allocations: 0.5572 MB / 0.7577 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003998/0.6012, allocations: 205.2 kB / 0.7579 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.6024, allocations: 458.2 kB / 0.7583 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004514/0.6028, allocations: 187.3 kB / 0.7585 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.432e-05/0.6029, allocations: 20 kB / 0.7585 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002716/0.6032, allocations: 76.78 kB / 0.7586 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.6033, allocations: 87.78 kB / 0.7587 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.6035, allocations: 119.4 kB / 0.7588 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004653/0.6039, allocations: 314.9 kB / 0.7591 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.6039, allocations: 4 kB / 0.7591 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.813e-06/0.604, allocations: 0 / 0.7591 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.503e-05/0.604, allocations: 0 / 0.7591 GB, free: 4.602 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001007/0.605, allocations: 0.5217 MB / 0.7596 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.605, allocations: 12.03 kB / 0.7596 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.076e-05/0.6051, allocations: 51.11 kB / 0.7597 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.386e-05/0.6052, allocations: 35.56 kB / 0.7597 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.6056, allocations: 283.3 kB / 0.76 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.6056, allocations: 12 kB / 0.76 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.6056, allocations: 16 kB / 0.76 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004417/0.6061, allocations: 277.5 kB / 0.7603 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.6061, allocations: 0 / 0.7603 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.6061, allocations: 11.94 kB / 0.7603 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.6061, allocations: 4 kB / 0.7603 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003377/0.6065, allocations: 147.8 kB / 0.7604 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.6079, allocations: 1.371 MB / 0.7618 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.6082, allocations: 183.7 kB / 0.7619 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.6084, allocations: 90.23 kB / 0.762 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003647/0.6088, allocations: 121 kB / 0.7621 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.6088, allocations: 46.44 kB / 0.7622 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.6088, allocations: 0 / 0.7622 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006614/0.6095, allocations: 213.8 kB / 0.7624 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/0.6096, allocations: 187.9 kB / 0.7626 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.6098, allocations: 287 kB / 0.7628 GB, free: 412 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.6099, allocations: 29.7 kB / 0.7629 GB, free: 376 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.61, allocations: 143.9 kB / 0.763 GB, free: 228 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.61, allocations: 39.53 kB / 0.763 GB, free: 188 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.895e-05/0.6101, allocations: 33.7 kB / 0.7631 GB, free: 148 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.6102, allocations: 338.8 kB / 0.7634 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.6104, allocations: 46.03 kB / 0.7634 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.6106, allocations: 116.5 kB / 0.7635 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.6109, allocations: 165 kB / 0.7637 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6109, allocations: 0 / 0.7637 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004124/0.6113, allocations: 189.1 kB / 0.7639 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.6113, allocations: 11.94 kB / 0.7639 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.6113, allocations: 0 / 0.7639 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.6113, allocations: 4.219 kB / 0.7639 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.6115, allocations: 31.98 kB / 0.7639 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.6115, allocations: 7.922 kB / 0.7639 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.6117, allocations: 23.75 kB / 0.764 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.6117, allocations: 15.98 kB / 0.764 GB, free: 15.15 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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 0.0002088/0.6119, allocations: 138.5 kB / 0.7641 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.6121, allocations: 27.66 kB / 0.7641 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003683/0.6124, allocations: 136.1 kB / 0.7643 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.6124, allocations: 4 kB / 0.7643 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.6125, allocations: 0 / 0.7643 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.6125, allocations: 8.547 kB / 0.7643 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008061/0.6133, allocations: 0.7652 MB / 0.765 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.6133, allocations: 4 kB / 0.765 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.6134, allocations: 24.61 kB / 0.7651 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.6134, allocations: 3.938 kB / 0.7651 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.6135, allocations: 7.938 kB / 0.7651 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.6135, allocations: 7.984 kB / 0.7651 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6135, allocations: 0 / 0.7651 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005049/0.614, allocations: 338.6 kB / 0.7654 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.261e-05/0.6141, allocations: 112.8 kB / 0.7655 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.6141, allocations: 4.062 kB / 0.7655 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.6143, allocations: 15.98 kB / 0.7655 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.6143, allocations: 11.88 kB / 0.7655 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.6143, allocations: 4 kB / 0.7655 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000275/0.6146, allocations: 209.9 kB / 0.7657 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6146, allocations: 0 / 0.7657 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003438/0.615, allocations: 59.83 kB / 0.7658 GB, free: 13.16 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.001148/0.6161, allocations: 0.9092 MB / 0.7667 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003564/0.6165, allocations: 123.7 kB / 0.7668 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6165, allocations: 0.6875 kB / 0.7668 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.6167, allocations: 59.91 kB / 0.7669 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007699/0.6175, allocations: 140.1 kB / 0.767 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003162/0.6206, allocations: 2.605 MB / 0.7695 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.621, allocations: 0.7558 MB / 0.7703 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001651/0.6212, allocations: 54.86 kB / 0.7703 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.873e-05/0.6213, allocations: 75.36 kB / 0.7704 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.6213, allocations: 0 / 0.7704 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02561/0.6469, allocations: 6.802 MB / 0.777 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.462/8.109, allocations: 6.562 kB / 0.777 GB, free: 1.637 MB / 0.5919 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)