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.0007689/0.0007689, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004454/0.004454, allocations: 168.9 kB / 16.26 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.304/1.304, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.9321/0.9321, allocations: 143.2 MB / 434.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003073/0.0003073, allocations: 19.98 kB / 0.5165 GB, free: 11.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1349, allocations: 83.41 MB / 0.598 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4239/0.5588, allocations: 157.1 MB / 0.7513 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005455/0.5643, allocations: 4.503 MB / 0.7557 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002637/0.5646, allocations: 12.06 kB / 0.7557 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004003/0.5651, allocations: 93.11 kB / 0.7558 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008746/0.5659, allocations: 307.6 kB / 0.7561 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007647/0.5667, allocations: 258.6 kB / 0.7564 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007955/0.5675, allocations: 0.7994 MB / 0.7572 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002889/0.5678, allocations: 161.6 kB / 0.7573 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009468/0.5688, allocations: 418.4 kB / 0.7577 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.5691, allocations: 191.2 kB / 0.7579 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.5691, allocations: 8 kB / 0.7579 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.5693, allocations: 75.86 kB / 0.758 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.774e-05/0.5694, allocations: 79.72 kB / 0.758 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.5696, allocations: 133.1 kB / 0.7582 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003392/0.5699, allocations: 287 kB / 0.7584 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.5699, allocations: 4 kB / 0.7585 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5699, allocations: 0 / 0.7585 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.5699, allocations: 5.031 kB / 0.7585 GB, free: 7.648 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.000743/0.5707, allocations: 0.4906 MB / 0.7589 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.5707, allocations: 15.97 kB / 0.7589 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.28e-05/0.5708, allocations: 50.55 kB / 0.759 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.5709, allocations: 32.16 kB / 0.759 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.5712, allocations: 279.3 kB / 0.7593 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.5712, allocations: 12 kB / 0.7593 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.832e-05/0.5713, allocations: 20 kB / 0.7593 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000416/0.5717, allocations: 261.2 kB / 0.7596 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.5717, allocations: 3.984 kB / 0.7596 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.5717, allocations: 16.62 kB / 0.7596 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.5717, allocations: 4.5 kB / 0.7596 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003323/0.5721, allocations: 164.3 kB / 0.7598 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.5734, allocations: 1.371 MB / 0.7611 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.5737, allocations: 191.7 kB / 0.7613 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.5739, allocations: 101.7 kB / 0.7614 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003552/0.5742, allocations: 133 kB / 0.7615 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.5743, allocations: 46.48 kB / 0.7615 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 2.004e-06/0.5743, allocations: 0.5625 kB / 0.7615 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006016/0.5749, allocations: 222.3 kB / 0.7618 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.587e-05/0.575, allocations: 183.9 kB / 0.7619 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000372/0.5754, allocations: 291 kB / 0.7622 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.5754, allocations: 25.7 kB / 0.7622 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.5755, allocations: 151.8 kB / 0.7624 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.5756, allocations: 32.58 kB / 0.7624 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.5756, allocations: 17.72 kB / 0.7624 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.5757, allocations: 334.8 kB / 0.7627 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.5759, allocations: 55.95 kB / 0.7628 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.5761, allocations: 128.2 kB / 0.7629 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/0.5764, allocations: 167.2 kB / 0.7631 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.5764, allocations: 0 / 0.7631 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003672/0.5767, allocations: 201.7 kB / 0.7633 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.5768, allocations: 7.938 kB / 0.7633 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.5768, allocations: 4 kB / 0.7633 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.5768, allocations: 3.938 kB / 0.7633 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.5769, allocations: 39.91 kB / 0.7633 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.577, allocations: 9.531 kB / 0.7633 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.5771, allocations: 31.67 kB / 0.7634 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.5772, allocations: 12 kB / 0.7634 GB, free: 2.16 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.00012/0.5773, allocations: 142.4 kB / 0.7635 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.5774, allocations: 27.66 kB / 0.7635 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003525/0.5778, allocations: 146.3 kB / 0.7637 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.5778, allocations: 4 kB / 0.7637 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.5778, allocations: 4 kB / 0.7637 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.5778, allocations: 0 / 0.7637 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008219/0.5787, allocations: 0.7768 MB / 0.7644 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.5787, allocations: 3.938 kB / 0.7645 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.5788, allocations: 27.97 kB / 0.7645 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.5788, allocations: 0 / 0.7645 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.5788, allocations: 4 kB / 0.7645 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.5788, allocations: 8.094 kB / 0.7645 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.5788, allocations: 4 kB / 0.7645 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004966/0.5793, allocations: 363.3 kB / 0.7648 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.342e-05/0.5794, allocations: 108.8 kB / 0.7649 GB, free: 424 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.5795, allocations: 0 / 0.7649 GB, free: 424 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.5796, allocations: 20.05 kB / 0.765 GB, free: 404 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.5797, allocations: 15.92 kB / 0.765 GB, free: 388 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.5797, allocations: 4 kB / 0.765 GB, free: 384 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001871/0.5799, allocations: 209.9 kB / 0.7652 GB, free: 176 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5799, allocations: 0 / 0.7652 GB, free: 176 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003258/0.5802, allocations: 52 kB / 0.7652 GB, free: 124 kB / 0.5762 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.0009708/0.5812, allocations: 0.9297 MB / 0.7661 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003375/0.5815, allocations: 128.8 kB / 0.7663 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5816, allocations: 0 / 0.7663 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.5817, allocations: 72.64 kB / 0.7663 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007928/0.5825, allocations: 121.6 kB / 0.7664 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/0.5855, allocations: 2.724 MB / 0.7691 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.5857, allocations: 0.7596 MB / 0.7698 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001503/0.5859, allocations: 51.11 kB / 0.7699 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.547e-05/0.586, allocations: 71.41 kB / 0.77 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of SimCode: time 6.21e-07/0.586, allocations: 8 kB / 0.77 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03397/0.62, allocations: 6.36 MB / 0.7762 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/0.6203, allocations: 249 kB / 0.7764 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/2.413, allocations: 0 / 0.7764 GB, free: 4.688 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)