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.006308/0.006308, allocations: 101.2 kB / 15.73 MB, free: 6.027 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.001002/0.001002, allocations: 194.7 kB / 16.67 MB, free: 5.961 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 4.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.9545/0.9545, allocations: 143 MB / 433.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.88 kB / 0.5951 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.364, allocations: 82.03 MB / 0.6752 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1598/0.5238, allocations: 161.4 MB / 0.8328 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004791/0.5286, allocations: 4.543 MB / 0.8372 GB, free: 15.89 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002847/0.529, allocations: 11.94 kB / 0.8372 GB, free: 15.88 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0004127/0.5294, allocations: 131 kB / 0.8374 GB, free: 15.75 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0007164/0.5301, allocations: 350.4 kB / 0.8377 GB, free: 15.41 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006844/0.5308, allocations: 271 kB / 0.838 GB, free: 15.14 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0005271/0.5313, allocations: 0.5651 MB / 0.8385 GB, free: 14.58 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002972/0.5317, allocations: 201.2 kB / 0.8387 GB, free: 14.38 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008005/0.5325, allocations: 470.2 kB / 0.8392 GB, free: 13.92 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.5327, allocations: 191.2 kB / 0.8393 GB, free: 13.73 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.5327, allocations: 16 kB / 0.8394 GB, free: 13.72 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.5329, allocations: 87.86 kB / 0.8394 GB, free: 13.63 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 9.325e-05/0.533, allocations: 79.8 kB / 0.8395 GB, free: 13.55 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.5331, allocations: 119.4 kB / 0.8396 GB, free: 13.44 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.5335, allocations: 311.8 kB / 0.8399 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5335, allocations: 0 / 0.8399 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5335, allocations: 0 / 0.8399 GB, free: 13.14 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.537e-06/0.5335, allocations: 4 kB / 0.8399 GB, free: 13.13 MB / 0.67 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.0007719/0.5343, allocations: 0.5447 MB / 0.8405 GB, free: 12.54 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.5343, allocations: 8.031 kB / 0.8405 GB, free: 12.53 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.888e-05/0.5344, allocations: 54.55 kB / 0.8405 GB, free: 12.47 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.16e-05/0.5345, allocations: 31.75 kB / 0.8405 GB, free: 12.44 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.5349, allocations: 299.5 kB / 0.8408 GB, free: 12.11 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.5349, allocations: 16 kB / 0.8408 GB, free: 12.09 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.177e-05/0.5349, allocations: 16 kB / 0.8409 GB, free: 12.07 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004207/0.5354, allocations: 266.3 kB / 0.8411 GB, free: 11.78 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.5354, allocations: 7.875 kB / 0.8411 GB, free: 11.77 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.5354, allocations: 15.94 kB / 0.8411 GB, free: 11.75 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.5354, allocations: 4 kB / 0.8411 GB, free: 11.75 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003257/0.5358, allocations: 147.8 kB / 0.8413 GB, free: 11.61 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.5371, allocations: 1.368 MB / 0.8426 GB, free: 10.15 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.5374, allocations: 183.7 kB / 0.8428 GB, free: 9.914 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.5376, allocations: 101 kB / 0.8429 GB, free: 9.797 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003349/0.5379, allocations: 113 kB / 0.843 GB, free: 9.668 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.538, allocations: 46.5 kB / 0.843 GB, free: 9.613 MB / 0.67 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.538, allocations: 0 / 0.843 GB, free: 9.613 MB / 0.67 GB Notification: Performance of matching and sorting (n=10): time 0.0005888/0.5386, allocations: 205.2 kB / 0.8432 GB, free: 9.406 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.138e-05/0.5386, allocations: 192.5 kB / 0.8434 GB, free: 9.176 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.5389, allocations: 287 kB / 0.8437 GB, free: 8.895 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.5389, allocations: 29.7 kB / 0.8437 GB, free: 8.859 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 9.227e-05/0.539, allocations: 151.8 kB / 0.8439 GB, free: 8.707 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.5391, allocations: 31.78 kB / 0.8439 GB, free: 8.676 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.715e-05/0.5391, allocations: 41.7 kB / 0.8439 GB, free: 8.629 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.5392, allocations: 330.8 kB / 0.8443 GB, free: 8.297 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.5394, allocations: 51.89 kB / 0.8443 GB, free: 8.246 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.5396, allocations: 115.7 kB / 0.8444 GB, free: 8.105 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.5398, allocations: 150.7 kB / 0.8446 GB, free: 7.934 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5398, allocations: 0 / 0.8446 GB, free: 7.934 MB / 0.67 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003539/0.5402, allocations: 197.3 kB / 0.8447 GB, free: 7.734 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.5402, allocations: 7.938 kB / 0.8448 GB, free: 7.727 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.361e-06/0.5402, allocations: 4 kB / 0.8448 GB, free: 7.723 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.5403, allocations: 0 / 0.8448 GB, free: 7.723 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.5404, allocations: 27.98 kB / 0.8448 GB, free: 7.695 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.5404, allocations: 7.984 kB / 0.8448 GB, free: 7.688 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.5406, allocations: 32.38 kB / 0.8448 GB, free: 7.656 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.5406, allocations: 7.984 kB / 0.8448 GB, free: 7.648 MB / 0.67 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.0001223/0.5407, allocations: 154.4 kB / 0.845 GB, free: 7.488 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.5408, allocations: 31.73 kB / 0.845 GB, free: 7.457 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002988/0.5412, allocations: 131 kB / 0.8451 GB, free: 7.32 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.5412, allocations: 4 kB / 0.8451 GB, free: 7.316 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.5412, allocations: 11.92 kB / 0.8451 GB, free: 7.305 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.5412, allocations: 4.047 kB / 0.8452 GB, free: 7.301 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007536/0.542, allocations: 0.7652 MB / 0.8459 GB, free: 6.461 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.542, allocations: 0 / 0.8459 GB, free: 6.461 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.5421, allocations: 28.08 kB / 0.8459 GB, free: 6.434 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.5421, allocations: 8 kB / 0.8459 GB, free: 6.426 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.5421, allocations: 7.984 kB / 0.8459 GB, free: 6.418 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.5421, allocations: 3.984 kB / 0.8459 GB, free: 6.414 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5421, allocations: 3.938 kB / 0.8459 GB, free: 6.41 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005061/0.5426, allocations: 339.5 kB / 0.8463 GB, free: 6.047 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.022e-05/0.5427, allocations: 112.9 kB / 0.8464 GB, free: 5.918 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.5428, allocations: 4 kB / 0.8464 GB, free: 5.914 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.5429, allocations: 7.984 kB / 0.8464 GB, free: 5.906 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.543, allocations: 20 kB / 0.8464 GB, free: 5.887 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.543, allocations: 7.938 kB / 0.8464 GB, free: 5.879 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001724/0.5432, allocations: 209.9 kB / 0.8466 GB, free: 5.672 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5432, allocations: 0 / 0.8466 GB, free: 5.672 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003184/0.5435, allocations: 55.94 kB / 0.8467 GB, free: 5.617 MB / 0.67 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.0009179/0.5444, allocations: 0.9033 MB / 0.8476 GB, free: 4.68 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0003258/0.5448, allocations: 123.9 kB / 0.8477 GB, free: 4.559 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5448, allocations: 0 / 0.8477 GB, free: 4.559 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.5449, allocations: 64.59 kB / 0.8477 GB, free: 4.496 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007057/0.5456, allocations: 125.4 kB / 0.8479 GB, free: 4.375 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002785/0.5484, allocations: 2.618 MB / 0.8504 GB, free: 1.602 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.5487, allocations: 0.7558 MB / 0.8511 GB, free: 0.8203 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001339/0.5489, allocations: 54.23 kB / 0.8512 GB, free: 0.7656 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.489e-05/0.549, allocations: 75.36 kB / 0.8513 GB, free: 0.6914 MB / 0.67 GB Notification: Performance of SimCode: time 2.21e-07/0.549, allocations: 0 / 0.8513 GB, free: 0.6914 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.5727, allocations: 6.877 MB / 0.858 GB, free: 9.988 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.577/8.149, allocations: 12.59 kB / 0.858 GB, free: 9.977 MB / 0.6856 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)