Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",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.0009604/0.0009603, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.00119/0.00119, allocations: 191 kB / 16.25 MB, free: 6.145 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.249/1.249, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.8962/0.8962, allocations: 143 MB / 433.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 63.91 kB / 0.5138 GB, free: 11.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1258, allocations: 82.04 MB / 0.5939 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.3832/0.509, allocations: 165.3 MB / 0.7553 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007294/0.5163, allocations: 6.498 MB / 0.7617 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004166/0.5168, allocations: 11.94 kB / 0.7617 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004955/0.5173, allocations: 139.1 kB / 0.7618 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.5192, allocations: 0.7938 MB / 0.7626 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007972/0.52, allocations: 297.5 kB / 0.7629 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007007/0.5207, allocations: 0.7135 MB / 0.7636 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003845/0.5211, allocations: 275.7 kB / 0.7638 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009544/0.5221, allocations: 0.541 MB / 0.7644 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003494/0.5224, allocations: 290.9 kB / 0.7646 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.603e-05/0.5225, allocations: 20 kB / 0.7647 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005755/0.5231, allocations: 355.1 kB / 0.765 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.5232, allocations: 103.7 kB / 0.7651 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.5233, allocations: 163.2 kB / 0.7653 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005714/0.5239, allocations: 498.4 kB / 0.7657 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.5239, allocations: 0 / 0.7657 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5239, allocations: 0 / 0.7657 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.5239, allocations: 0 / 0.7657 GB, free: 13.69 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007451/0.5247, allocations: 0.6311 MB / 0.7663 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.5247, allocations: 11.97 kB / 0.7664 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.013e-05/0.5248, allocations: 62.53 kB / 0.7664 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002755/0.5251, allocations: 64 kB / 0.7665 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.5254, allocations: 309.3 kB / 0.7668 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.5255, allocations: 20.56 kB / 0.7668 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.5255, allocations: 24 kB / 0.7668 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005021/0.526, allocations: 319.7 kB / 0.7671 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.526, allocations: 4 kB / 0.7671 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.5261, allocations: 8 kB / 0.7671 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.5261, allocations: 12.75 kB / 0.7671 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000389/0.5265, allocations: 201.6 kB / 0.7673 GB, free: 11.92 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.5278, allocations: 1.531 MB / 0.7688 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.5281, allocations: 124 kB / 0.7689 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.5283, allocations: 96.48 kB / 0.769 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006016/0.5289, allocations: 303.2 kB / 0.7693 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.5289, allocations: 34.55 kB / 0.7694 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.5289, allocations: 0 / 0.7694 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0006903/0.5296, allocations: 269.1 kB / 0.7696 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.5297, allocations: 55.66 kB / 0.7697 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000306/0.53, allocations: 312.5 kB / 0.77 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.53, allocations: 29.7 kB / 0.77 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.5301, allocations: 180.2 kB / 0.7702 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.5302, allocations: 47.34 kB / 0.7702 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.444e-05/0.5302, allocations: 37.7 kB / 0.7703 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.5304, allocations: 342.8 kB / 0.7706 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.5305, allocations: 63.86 kB / 0.7706 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.5308, allocations: 109.1 kB / 0.7707 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.5311, allocations: 180.9 kB / 0.7709 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.5311, allocations: 3.938 kB / 0.7709 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003926/0.5315, allocations: 213.2 kB / 0.7711 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.5316, allocations: 4 kB / 0.7711 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.5316, allocations: 4 kB / 0.7711 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.5316, allocations: 3.938 kB / 0.7711 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.5317, allocations: 31.98 kB / 0.7712 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.5318, allocations: 7.922 kB / 0.7712 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/0.532, allocations: 43.83 kB / 0.7712 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.5321, allocations: 8 kB / 0.7712 GB, free: 7.637 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001373/0.5322, allocations: 145.8 kB / 0.7714 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.716e-05/0.5323, allocations: 23.72 kB / 0.7714 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000446/0.5328, allocations: 218.3 kB / 0.7716 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.5328, allocations: 4 kB / 0.7716 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.5328, allocations: 7.938 kB / 0.7716 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.5328, allocations: 0 / 0.7716 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009588/0.5337, allocations: 0.6757 MB / 0.7723 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.5338, allocations: 0 / 0.7723 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.534, allocations: 32.42 kB / 0.7723 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.534, allocations: 0 / 0.7723 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.534, allocations: 11.98 kB / 0.7723 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.534, allocations: 7.938 kB / 0.7723 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.534, allocations: 0.75 kB / 0.7723 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004097/0.5344, allocations: 341.3 kB / 0.7726 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.5346, allocations: 116.8 kB / 0.7728 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.938e-05/0.5346, allocations: 4 kB / 0.7728 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.5348, allocations: 19.92 kB / 0.7728 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.5348, allocations: 13.73 kB / 0.7728 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.5349, allocations: 12 kB / 0.7728 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002035/0.5351, allocations: 223 kB / 0.773 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.034e-06/0.5351, allocations: 0 / 0.773 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000359/0.5354, allocations: 75.78 kB / 0.7731 GB, free: 5.582 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0009314/0.5364, allocations: 0.9231 MB / 0.774 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004002/0.5368, allocations: 172 kB / 0.7741 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5368, allocations: 4 kB / 0.7742 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.537, allocations: 83.83 kB / 0.7742 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007842/0.5378, allocations: 148.8 kB / 0.7744 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.5411, allocations: 2.903 MB / 0.7772 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.5414, allocations: 0.7756 MB / 0.778 GB, free: 396 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001998/0.5416, allocations: 66.86 kB / 0.778 GB, free: 336 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.5418, allocations: 95.41 kB / 0.7781 GB, free: 240 kB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.5418, allocations: 0 / 0.7781 GB, free: 240 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/0.5678, allocations: 7.894 MB / 0.7858 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002608/0.5681, allocations: 258.5 kB / 0.7861 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.458, allocations: 0 / 0.7861 GB, free: 8.34 MB / 0.6075 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)