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.001093/0.001093, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001079/0.001079, allocations: 199.2 kB / 16.14 MB, free: 6.656 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.155/1.155, allocations: 222.9 MB / 239.8 MB, free: 4.578 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.8832/0.8832, allocations: 143 MB / 433 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 59.91 kB / 0.5136 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1314, allocations: 82.04 MB / 0.5937 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.3697/0.5011, allocations: 159.1 MB / 0.7491 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004385/0.5055, allocations: 4.566 MB / 0.7536 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002672/0.5058, allocations: 9.75 kB / 0.7536 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003648/0.5062, allocations: 92.95 kB / 0.7537 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006314/0.5068, allocations: 316.6 kB / 0.754 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005898/0.5074, allocations: 254.7 kB / 0.7542 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000608/0.5081, allocations: 0.7873 MB / 0.755 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002537/0.5083, allocations: 173.5 kB / 0.7552 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007738/0.5091, allocations: 418.4 kB / 0.7555 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.5093, allocations: 207.2 kB / 0.7557 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.5094, allocations: 8 kB / 0.7558 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.5095, allocations: 67.95 kB / 0.7558 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.91e-05/0.5096, allocations: 83.7 kB / 0.7559 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.5097, allocations: 115.3 kB / 0.756 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.51, allocations: 299 kB / 0.7563 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.51, allocations: 0 / 0.7563 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.62e-07/0.51, allocations: 0 / 0.7563 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.5101, allocations: 0 / 0.7563 GB, free: 7.305 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.000707/0.5108, allocations: 0.5334 MB / 0.7568 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.5108, allocations: 8.031 kB / 0.7568 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.781e-05/0.5109, allocations: 55.05 kB / 0.7569 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.082e-05/0.5109, allocations: 31.56 kB / 0.7569 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.5112, allocations: 279.3 kB / 0.7572 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.5113, allocations: 12.5 kB / 0.7572 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/0.5113, allocations: 20 kB / 0.7572 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/0.5117, allocations: 257.2 kB / 0.7574 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.5117, allocations: 4 kB / 0.7575 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.5117, allocations: 15.88 kB / 0.7575 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.5117, allocations: 11.98 kB / 0.7575 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/0.5121, allocations: 147.8 kB / 0.7576 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.5132, allocations: 1.364 MB / 0.759 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.5134, allocations: 183.7 kB / 0.7591 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.5136, allocations: 93.11 kB / 0.7592 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003194/0.5139, allocations: 117 kB / 0.7593 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.5139, allocations: 46.44 kB / 0.7594 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.514, allocations: 0 / 0.7594 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0005423/0.5145, allocations: 206.4 kB / 0.7596 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.62e-05/0.5146, allocations: 188.5 kB / 0.7597 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.5148, allocations: 295 kB / 0.76 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.5148, allocations: 25.7 kB / 0.7601 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.828e-05/0.5149, allocations: 147.9 kB / 0.7602 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.515, allocations: 39.52 kB / 0.7602 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.524e-05/0.515, allocations: 37.72 kB / 0.7603 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.648e-05/0.5151, allocations: 334.8 kB / 0.7606 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.5153, allocations: 43.95 kB / 0.7606 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.5154, allocations: 124.4 kB / 0.7607 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.5157, allocations: 155.3 kB / 0.7609 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5157, allocations: 0 / 0.7609 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003318/0.516, allocations: 194.2 kB / 0.7611 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.5161, allocations: 7.938 kB / 0.7611 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.5161, allocations: 4 kB / 0.7611 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.5161, allocations: 0 / 0.7611 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.5162, allocations: 35.91 kB / 0.7611 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.5162, allocations: 4 kB / 0.7611 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.5164, allocations: 35.89 kB / 0.7612 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.5164, allocations: 11.5 kB / 0.7612 GB, free: 1.859 MB / 0.5762 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.0001109/0.5165, allocations: 142.5 kB / 0.7613 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.5167, allocations: 31.59 kB / 0.7613 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003017/0.517, allocations: 131 kB / 0.7615 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.517, allocations: 4.031 kB / 0.7615 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.517, allocations: 4 kB / 0.7615 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.517, allocations: 4 kB / 0.7615 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000698/0.5177, allocations: 0.7768 MB / 0.7622 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5177, allocations: 3.938 kB / 0.7622 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.5178, allocations: 24.14 kB / 0.7623 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.5178, allocations: 4 kB / 0.7623 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.5179, allocations: 4 kB / 0.7623 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5179, allocations: 0 / 0.7623 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.5179, allocations: 4 kB / 0.7623 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004444/0.5183, allocations: 343.8 kB / 0.7626 GB, free: 276 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.84e-05/0.5184, allocations: 108.8 kB / 0.7627 GB, free: 148 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.5184, allocations: 4 kB / 0.7627 GB, free: 144 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.5186, allocations: 11.98 kB / 0.7627 GB, free: 132 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.5186, allocations: 15.98 kB / 0.7627 GB, free: 116 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.5186, allocations: 4 kB / 0.7627 GB, free: 112 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001786/0.5188, allocations: 209.9 kB / 0.7629 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5188, allocations: 0 / 0.7629 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003068/0.5191, allocations: 59.84 kB / 0.763 GB, free: 15.85 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.0008585/0.52, allocations: 0.9131 MB / 0.7639 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003021/0.5203, allocations: 119.8 kB / 0.764 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5203, allocations: 0 / 0.764 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.5205, allocations: 56.58 kB / 0.7641 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006763/0.5211, allocations: 124 kB / 0.7642 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/0.5239, allocations: 2.665 MB / 0.7668 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.5242, allocations: 0.7635 MB / 0.7675 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001397/0.5243, allocations: 55.59 kB / 0.7676 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.355e-05/0.5244, allocations: 67.42 kB / 0.7676 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.5244, allocations: 4 kB / 0.7676 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.055/2.58, allocations: 6.474 MB / 0.774 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000286/2.58, allocations: 256.1 kB / 0.7742 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.758/5.338, allocations: 0 / 0.7742 GB, free: 4.375 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)