Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.001072/0.001072, allocations: 104.6 kB / 16.4 MB, free: 6.457 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.001161/0.001161, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.256/1.256, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7196/0.7196, allocations: 122.9 MB / 414.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 73.58 kB / 0.568 GB, free: 28.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.135, allocations: 77.91 MB / 0.6441 GB, free: 9.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5026/0.6376, allocations: 179.4 MB / 0.8192 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007848/0.6455, allocations: 7.834 MB / 0.8269 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007754/0.6463, allocations: 20.06 kB / 0.8269 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007696/0.6471, allocations: 242.6 kB / 0.8271 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003218/0.6504, allocations: 1.271 MB / 0.8284 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.6522, allocations: 0.7406 MB / 0.8291 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001216/0.6535, allocations: 1.087 MB / 0.8302 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005298/0.654, allocations: 405.8 kB / 0.8306 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002058/0.6561, allocations: 0.8559 MB / 0.8314 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004884/0.6566, allocations: 438.5 kB / 0.8318 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.081e-05/0.6566, allocations: 37.97 kB / 0.8318 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/0.6581, allocations: 0.9478 MB / 0.8328 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.6583, allocations: 158.4 kB / 0.8329 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.6585, allocations: 249.5 kB / 0.8332 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.6598, allocations: 0.9365 MB / 0.8341 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.6598, allocations: 0 / 0.8341 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.833e-06/0.6598, allocations: 3.938 kB / 0.8341 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.6598, allocations: 4 kB / 0.8341 GB, free: 3.535 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001064/0.6609, allocations: 0.8247 MB / 0.8349 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.6609, allocations: 10.12 kB / 0.8349 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.692e-05/0.661, allocations: 71.41 kB / 0.835 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009089/0.6619, allocations: 154.5 kB / 0.8351 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005558/0.6625, allocations: 415.2 kB / 0.8355 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.6625, allocations: 29.91 kB / 0.8355 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.833e-05/0.6626, allocations: 36.47 kB / 0.8356 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000687/0.6633, allocations: 448.5 kB / 0.836 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.6633, allocations: 1.781 kB / 0.836 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.631e-05/0.6634, allocations: 18.84 kB / 0.836 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.6634, allocations: 10.19 kB / 0.836 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005509/0.6639, allocations: 324.3 kB / 0.8363 GB, free: 1.855 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.002038/0.666, allocations: 2.007 MB / 0.8383 GB, free: 36 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.6664, allocations: 250.1 kB / 0.8385 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/0.6666, allocations: 153.8 kB / 0.8387 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005512/0.6672, allocations: 299.9 kB / 0.839 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.6672, allocations: 41.36 kB / 0.839 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.393e-06/0.6673, allocations: 3.938 kB / 0.839 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.000936/0.6682, allocations: 457.7 kB / 0.8395 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.6682, allocations: 55.41 kB / 0.8395 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003654/0.6686, allocations: 404.1 kB / 0.8399 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.6687, allocations: 32.48 kB / 0.8399 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.6688, allocations: 230.6 kB / 0.8401 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.392e-05/0.6689, allocations: 84.45 kB / 0.8402 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.134e-05/0.669, allocations: 59.91 kB / 0.8403 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.6691, allocations: 353.1 kB / 0.8406 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.6693, allocations: 109.9 kB / 0.8407 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.6696, allocations: 191.4 kB / 0.8409 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004669/0.6701, allocations: 308.7 kB / 0.8412 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6701, allocations: 0 / 0.8412 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000575/0.6707, allocations: 366.3 kB / 0.8415 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.6707, allocations: 10.8 kB / 0.8416 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.6707, allocations: 2.438 kB / 0.8416 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.6707, allocations: 4.875 kB / 0.8416 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.671, allocations: 54.44 kB / 0.8416 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.671, allocations: 5.281 kB / 0.8416 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.6713, allocations: 45.06 kB / 0.8417 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.6713, allocations: 14.19 kB / 0.8417 GB, free: 13.6 MB / 0.6075 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 (31): * Single equations (assignments): 31 * 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.0001557/0.6715, allocations: 164.2 kB / 0.8418 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.594e-05/0.6715, allocations: 44.28 kB / 0.8419 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006547/0.6722, allocations: 374.9 kB / 0.8422 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.6722, allocations: 2.594 kB / 0.8422 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.6722, allocations: 0 / 0.8422 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.6722, allocations: 7.984 kB / 0.8422 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.6735, allocations: 0.9401 MB / 0.8432 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.6736, allocations: 0 / 0.8432 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.6738, allocations: 45.3 kB / 0.8432 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.6738, allocations: 6.875 kB / 0.8432 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.6738, allocations: 12.39 kB / 0.8432 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.6738, allocations: 3 kB / 0.8432 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.6739, allocations: 3.875 kB / 0.8432 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008667/0.6747, allocations: 0.6359 MB / 0.8439 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001638/0.6749, allocations: 154.9 kB / 0.844 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.357e-05/0.675, allocations: 6.844 kB / 0.844 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.6752, allocations: 12.8 kB / 0.844 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/0.6752, allocations: 14.27 kB / 0.844 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.6753, allocations: 11.94 kB / 0.844 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002628/0.6755, allocations: 285.6 kB / 0.8443 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6755, allocations: 0 / 0.8443 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004115/0.676, allocations: 110.4 kB / 0.8444 GB, free: 11.66 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.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 (24): * Single equations (assignments): 24 * 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.001394/0.6774, allocations: 1.245 MB / 0.8456 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000561/0.6779, allocations: 293.5 kB / 0.8459 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6779, allocations: 0 / 0.8459 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002555/0.6782, allocations: 148.4 kB / 0.8461 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.6792, allocations: 216.2 kB / 0.8463 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004334/0.6836, allocations: 3.81 MB / 0.85 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.684, allocations: 0.8206 MB / 0.8508 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002805/0.6843, allocations: 109.1 kB / 0.8509 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.6845, allocations: 136.6 kB / 0.851 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of SimCode: time 6.41e-07/0.6845, allocations: 0 / 0.851 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02921/0.7137, allocations: 11.7 MB / 0.8624 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.122/8.835, allocations: 7.922 kB / 0.8625 GB, free: 11.31 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)