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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.000887/0.0008869, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001044/0.001044, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.3 MB / 240 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.028/1.028, allocations: 143.4 MB / 434.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.0003111, allocations: 12 kB / 0.5161 GB, free: 11.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.167, allocations: 83.42 MB / 0.5975 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5321/0.6991, allocations: 146.5 MB / 0.7406 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005313/0.7044, allocations: 4.228 MB / 0.7448 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002748/0.7048, allocations: 9.125 kB / 0.7448 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000396/0.7052, allocations: 83.14 kB / 0.7448 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007566/0.7059, allocations: 268.9 kB / 0.7451 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007015/0.7066, allocations: 219.4 kB / 0.7453 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000758/0.7074, allocations: 0.6717 MB / 0.746 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003058/0.7077, allocations: 148 kB / 0.7461 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000978/0.7087, allocations: 365.8 kB / 0.7465 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003805/0.7091, allocations: 187.4 kB / 0.7466 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.7092, allocations: 10.41 kB / 0.7466 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.7094, allocations: 69.83 kB / 0.7467 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.7095, allocations: 79.23 kB / 0.7468 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.546e-05/0.7095, allocations: 65.33 kB / 0.7469 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.7098, allocations: 210.6 kB / 0.7471 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.7098, allocations: 1.062 kB / 0.7471 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.357e-06/0.7099, allocations: 4 kB / 0.7471 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.7099, allocations: 3.938 kB / 0.7471 GB, free: 2.836 MB / 0.5606 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.0008075/0.7107, allocations: 0.4992 MB / 0.7475 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.7107, allocations: 9.625 kB / 0.7476 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.695e-05/0.7108, allocations: 52.73 kB / 0.7476 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.023e-05/0.7109, allocations: 26.5 kB / 0.7476 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/0.7113, allocations: 276.7 kB / 0.7479 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.7113, allocations: 10.88 kB / 0.7479 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.884e-05/0.7113, allocations: 21.75 kB / 0.7479 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004757/0.7118, allocations: 263.6 kB / 0.7482 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.7119, allocations: 8.969 kB / 0.7482 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.7119, allocations: 4 kB / 0.7482 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.7119, allocations: 4.562 kB / 0.7482 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003318/0.7122, allocations: 167.7 kB / 0.7484 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.7137, allocations: 1.375 MB / 0.7497 GB, free: 116 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.714, allocations: 183.8 kB / 0.7499 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.7142, allocations: 105 kB / 0.75 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003531/0.7146, allocations: 133 kB / 0.7501 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.7146, allocations: 35.12 kB / 0.7501 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.7146, allocations: 0 / 0.7501 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.000643/0.7152, allocations: 227 kB / 0.7504 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.7154, allocations: 189.5 kB / 0.7505 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.7157, allocations: 287 kB / 0.7508 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.7157, allocations: 29.7 kB / 0.7508 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.7158, allocations: 143.9 kB / 0.751 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.7159, allocations: 43.39 kB / 0.751 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-06/0.7159, allocations: 7.828 kB / 0.751 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.716, allocations: 330.8 kB / 0.7513 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.7162, allocations: 55.95 kB / 0.7514 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.7164, allocations: 115.7 kB / 0.7515 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.7165, allocations: 63.97 kB / 0.7516 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.7165, allocations: 0 / 0.7516 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003727/0.7169, allocations: 197.1 kB / 0.7517 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.7169, allocations: 8 kB / 0.7518 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.717, allocations: 0 / 0.7518 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.717, allocations: 9.203 kB / 0.7518 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.7171, allocations: 43.92 kB / 0.7518 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.7172, allocations: 0 / 0.7518 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.7173, allocations: 35.02 kB / 0.7518 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.7174, allocations: 15.98 kB / 0.7519 GB, free: 13.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.7175, allocations: 145.5 kB / 0.752 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.7177, allocations: 31.62 kB / 0.752 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003207/0.718, allocations: 135 kB / 0.7522 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.718, allocations: 7.953 kB / 0.7522 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.718, allocations: 0 / 0.7522 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.718, allocations: 11.92 kB / 0.7522 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009719/0.719, allocations: 0.7729 MB / 0.7529 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.719, allocations: 4 kB / 0.7529 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.7192, allocations: 24.03 kB / 0.753 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/0.7192, allocations: 8.141 kB / 0.753 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.7192, allocations: 4 kB / 0.753 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.7192, allocations: 3.984 kB / 0.753 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.7192, allocations: 7.938 kB / 0.753 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006021/0.7198, allocations: 343.4 kB / 0.7533 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.7199, allocations: 116.8 kB / 0.7534 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/0.72, allocations: 8.062 kB / 0.7534 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.7201, allocations: 17.73 kB / 0.7534 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.7202, allocations: 4 kB / 0.7534 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.7202, allocations: 4 kB / 0.7534 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002263/0.7204, allocations: 217.9 kB / 0.7537 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7204, allocations: 4 kB / 0.7537 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003677/0.7208, allocations: 52 kB / 0.7537 GB, free: 11.66 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001108/0.7219, allocations: 0.9262 MB / 0.7546 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003686/0.7223, allocations: 131.7 kB / 0.7547 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.7223, allocations: 448 / 0.7547 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.7225, allocations: 63.91 kB / 0.7548 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008373/0.7233, allocations: 128.4 kB / 0.7549 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/0.7262, allocations: 1.485 MB / 0.7564 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004807/0.7267, allocations: 0.756 MB / 0.7571 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002207/0.7269, allocations: 59.05 kB / 0.7572 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.7271, allocations: 67.41 kB / 0.7572 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/0.7271, allocations: 0 / 0.7572 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/0.7469, allocations: 6.326 MB / 0.7634 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/0.7471, allocations: 242.4 kB / 0.7636 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/2.538, allocations: 6.188 kB / 0.7636 GB, free: 1.578 MB / 0.5762 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/linux/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) Environment - environmentSimulation: