Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_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.004551/0.004552, allocations: 102.5 kB / 15.73 MB, free: 6.066 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.001276/0.001276, allocations: 197 kB / 16.68 MB, free: 5.973 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002403/0.002403, allocations: 293.4 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.162/1.162, allocations: 178.5 MB / 0.5074 GB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002694/0.002694, allocations: 99.84 kB / 0.6943 GB, free: 15.18 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3802, allocations: 89.13 MB / 0.7814 GB, free: 1.109 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2121/0.5923, allocations: 179.4 MB / 0.9566 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01071/0.6031, allocations: 7.821 MB / 0.9642 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006919/0.6038, allocations: 19.88 kB / 0.9642 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008147/0.6047, allocations: 246.2 kB / 0.9644 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003253/0.608, allocations: 1.225 MB / 0.9656 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001985/0.61, allocations: 0.73 MB / 0.9664 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001565/0.6116, allocations: 1.076 MB / 0.9674 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007862/0.6124, allocations: 409.4 kB / 0.9678 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002549/0.6149, allocations: 0.8357 MB / 0.9686 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008166/0.6158, allocations: 438.4 kB / 0.969 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.6159, allocations: 36 kB / 0.9691 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001913/0.6178, allocations: 0.9432 MB / 0.97 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.618, allocations: 159.6 kB / 0.9701 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003787/0.6184, allocations: 250.7 kB / 0.9704 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001876/0.6203, allocations: 0.9418 MB / 0.9713 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6203, allocations: 0 / 0.9713 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6203, allocations: 0 / 0.9713 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.25e-05/0.6204, allocations: 3.984 kB / 0.9713 GB, free: 5.531 MB / 0.7325 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.001427/0.6218, allocations: 0.8172 MB / 0.9721 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.6218, allocations: 8.031 kB / 0.9721 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/0.622, allocations: 86.47 kB / 0.9722 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000996/0.623, allocations: 147.5 kB / 0.9723 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006972/0.6237, allocations: 407.6 kB / 0.9727 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.6237, allocations: 28.98 kB / 0.9727 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.75e-05/0.6238, allocations: 44 kB / 0.9728 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008216/0.6246, allocations: 446.4 kB / 0.9732 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.6247, allocations: 4 kB / 0.9732 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/0.6247, allocations: 15.94 kB / 0.9732 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.6247, allocations: 16 kB / 0.9732 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006502/0.6254, allocations: 311.8 kB / 0.9735 GB, free: 3.098 MB / 0.7325 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.002366/0.6278, allocations: 2.024 MB / 0.9755 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004238/0.6282, allocations: 242.3 kB / 0.9757 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/0.6285, allocations: 144.8 kB / 0.9759 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006011/0.6291, allocations: 315.2 kB / 0.9762 GB, free: 152 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.6291, allocations: 30.97 kB / 0.9762 GB, free: 112 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=24): time 2.274e-06/0.6291, allocations: 0 / 0.9762 GB, free: 112 kB / 0.7325 GB Notification: Performance of matching and sorting (n=24): time 0.001142/0.6303, allocations: 459.2 kB / 0.9767 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.6303, allocations: 63.33 kB / 0.9767 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000466/0.6308, allocations: 390 kB / 0.9771 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.6308, allocations: 37.64 kB / 0.9771 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.631, allocations: 232.5 kB / 0.9773 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.205e-05/0.6311, allocations: 83.27 kB / 0.9774 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.6312, allocations: 57.66 kB / 0.9775 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.6314, allocations: 358.7 kB / 0.9778 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.6317, allocations: 115.9 kB / 0.9779 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000299/0.632, allocations: 175.8 kB / 0.9781 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005342/0.6325, allocations: 313.1 kB / 0.9784 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6325, allocations: 0 / 0.9784 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006842/0.6332, allocations: 361 kB / 0.9787 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.6332, allocations: 10.03 kB / 0.9788 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.6333, allocations: 0 / 0.9788 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.6333, allocations: 4 kB / 0.9788 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/0.6336, allocations: 64.12 kB / 0.9788 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.6336, allocations: 4 kB / 0.9788 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.6338, allocations: 39.72 kB / 0.9789 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.006e-05/0.6339, allocations: 16 kB / 0.9789 GB, free: 13.29 MB / 0.7481 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.0001983/0.6341, allocations: 169.7 kB / 0.979 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/0.6342, allocations: 39.72 kB / 0.9791 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007561/0.6349, allocations: 375.2 kB / 0.9794 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.635, allocations: 4 kB / 0.9794 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.635, allocations: 0 / 0.9794 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.635, allocations: 3.938 kB / 0.9794 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.6364, allocations: 0.9409 MB / 0.9804 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.6365, allocations: 4 kB / 0.9804 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.6367, allocations: 47.97 kB / 0.9804 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.629e-06/0.6367, allocations: 3.938 kB / 0.9804 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.6368, allocations: 7.938 kB / 0.9804 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.6368, allocations: 4 kB / 0.9804 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6368, allocations: 4.219 kB / 0.9804 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009749/0.6378, allocations: 0.6336 MB / 0.981 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.6379, allocations: 152.7 kB / 0.9812 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.476e-05/0.638, allocations: 4 kB / 0.9812 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.6382, allocations: 11.98 kB / 0.9812 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/0.6383, allocations: 19.97 kB / 0.9812 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.6383, allocations: 12.06 kB / 0.9812 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003082/0.6386, allocations: 283.1 kB / 0.9815 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6387, allocations: 0 / 0.9815 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004505/0.6391, allocations: 103.9 kB / 0.9816 GB, free: 10.34 MB / 0.7481 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.001604/0.6407, allocations: 1.254 MB / 0.9828 GB, free: 9.039 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006292/0.6414, allocations: 291 kB / 0.9831 GB, free: 8.758 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6414, allocations: 0 / 0.9831 GB, free: 8.758 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002869/0.6417, allocations: 152.4 kB / 0.9833 GB, free: 8.609 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.6428, allocations: 219.4 kB / 0.9835 GB, free: 8.402 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005108/0.6479, allocations: 3.811 MB / 0.9872 GB, free: 4.426 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/0.6484, allocations: 0.835 MB / 0.988 GB, free: 3.562 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003264/0.6487, allocations: 99.41 kB / 0.9881 GB, free: 3.461 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.6489, allocations: 135.4 kB / 0.9882 GB, free: 3.328 MB / 0.7481 GB Notification: Performance of SimCode: time 2.104e-06/0.649, allocations: 0 / 0.9882 GB, free: 3.328 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3319/0.9809, allocations: 11.7 MB / 0.9997 GB, free: 201.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.17/9.151, allocations: 23.11 kB / 0.9997 GB, free: 201.5 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)