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.001284/0.001284, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 196.8 kB / 16.54 MB, free: 6.672 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002454/0.002454, allocations: 282.9 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.031/1.031, allocations: 178.6 MB / 0.5073 GB, free: 4.555 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002666/0.002666, allocations: 104.3 kB / 0.6065 GB, free: 24.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1552, allocations: 89.15 MB / 0.6936 GB, free: 4.254 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4808/0.636, allocations: 179.4 MB / 0.8688 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0092/0.6453, allocations: 7.831 MB / 0.8764 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005475/0.6459, allocations: 20.53 kB / 0.8764 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006581/0.6466, allocations: 243.5 kB / 0.8767 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002859/0.6494, allocations: 1.223 MB / 0.8779 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.6512, allocations: 0.7274 MB / 0.8786 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001141/0.6523, allocations: 1.08 MB / 0.8796 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005832/0.6529, allocations: 407.6 kB / 0.88 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002299/0.6552, allocations: 0.8258 MB / 0.8808 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006257/0.6559, allocations: 440.6 kB / 0.8813 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.489e-05/0.6559, allocations: 35.12 kB / 0.8813 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001723/0.6576, allocations: 0.9475 MB / 0.8822 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000178/0.6578, allocations: 155.4 kB / 0.8824 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000247/0.6581, allocations: 248.8 kB / 0.8826 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.6594, allocations: 0.9257 MB / 0.8835 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.6594, allocations: 3.938 kB / 0.8835 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.02e-07/0.6594, allocations: 0 / 0.8835 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.138e-06/0.6595, allocations: 4 kB / 0.8835 GB, free: 9.094 MB / 0.6075 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.001273/0.6607, allocations: 0.8034 MB / 0.8843 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.6608, allocations: 8.031 kB / 0.8843 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.264e-05/0.6609, allocations: 78.53 kB / 0.8844 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009615/0.6619, allocations: 155.2 kB / 0.8845 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000563/0.6624, allocations: 379.4 kB / 0.8849 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.6625, allocations: 29 kB / 0.8849 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.591e-05/0.6625, allocations: 36 kB / 0.8849 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007583/0.6633, allocations: 450.4 kB / 0.8854 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.6633, allocations: 3.984 kB / 0.8854 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.82e-05/0.6634, allocations: 19.94 kB / 0.8854 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.6634, allocations: 9.812 kB / 0.8854 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006627/0.6641, allocations: 327.6 kB / 0.8857 GB, free: 6.703 MB / 0.6075 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.002464/0.6665, allocations: 2.023 MB / 0.8877 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004447/0.667, allocations: 238.3 kB / 0.8879 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002736/0.6673, allocations: 148.8 kB / 0.8881 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006148/0.6679, allocations: 307.2 kB / 0.8884 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.6679, allocations: 34.56 kB / 0.8884 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.843e-06/0.6679, allocations: 0 / 0.8884 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.0011/0.6691, allocations: 457.2 kB / 0.8888 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.6691, allocations: 59.34 kB / 0.8889 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004383/0.6695, allocations: 394 kB / 0.8893 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.6696, allocations: 29.7 kB / 0.8893 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.6698, allocations: 228.2 kB / 0.8895 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.953e-05/0.6699, allocations: 90.73 kB / 0.8896 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.791e-05/0.67, allocations: 53.7 kB / 0.8896 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.6702, allocations: 358.7 kB / 0.89 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.6704, allocations: 107.9 kB / 0.8901 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/0.6707, allocations: 191.8 kB / 0.8903 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005233/0.6712, allocations: 300.5 kB / 0.8906 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.6713, allocations: 4 kB / 0.8906 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000664/0.6719, allocations: 362.6 kB / 0.8909 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.672, allocations: 4 kB / 0.8909 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.672, allocations: 7.984 kB / 0.8909 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.672, allocations: 4 kB / 0.8909 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.6723, allocations: 62.12 kB / 0.891 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.6723, allocations: 4 kB / 0.891 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.6726, allocations: 43.52 kB / 0.891 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-05/0.6726, allocations: 12 kB / 0.891 GB, free: 0.8984 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.0001849/0.6728, allocations: 165.7 kB / 0.8912 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.031e-05/0.6729, allocations: 39.53 kB / 0.8912 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000735/0.6736, allocations: 370.9 kB / 0.8916 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.6736, allocations: 3.984 kB / 0.8916 GB, free: 328 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.6736, allocations: 0 / 0.8916 GB, free: 328 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.6736, allocations: 7.984 kB / 0.8916 GB, free: 320 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.6752, allocations: 0.9339 MB / 0.8925 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.6752, allocations: 0 / 0.8925 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.6754, allocations: 47.92 kB / 0.8926 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.976e-06/0.6755, allocations: 7.938 kB / 0.8926 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.6755, allocations: 7.984 kB / 0.8926 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.6755, allocations: 5.344 kB / 0.8926 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6755, allocations: 4 kB / 0.8926 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009943/0.6765, allocations: 0.6428 MB / 0.8932 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/0.6767, allocations: 152.4 kB / 0.8934 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.347e-05/0.6768, allocations: 11.94 kB / 0.8934 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.677, allocations: 11.98 kB / 0.8934 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.152e-05/0.6771, allocations: 23.98 kB / 0.8934 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.6771, allocations: 12 kB / 0.8934 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003105/0.6774, allocations: 283.1 kB / 0.8937 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6774, allocations: 0 / 0.8937 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004926/0.6779, allocations: 103.8 kB / 0.8938 GB, free: 13.95 MB / 0.6231 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.001705/0.6796, allocations: 1.241 MB / 0.895 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006821/0.6803, allocations: 299.2 kB / 0.8953 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6803, allocations: 4.438 kB / 0.8953 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002854/0.6806, allocations: 153.8 kB / 0.8954 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.6817, allocations: 223.1 kB / 0.8956 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005447/0.6872, allocations: 3.854 MB / 0.8994 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004938/0.6877, allocations: 0.8272 MB / 0.9002 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003983/0.6881, allocations: 99.41 kB / 0.9003 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.6884, allocations: 143.4 kB / 0.9004 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of SimCode: time 2.194e-06/0.6884, allocations: 3.938 kB / 0.9004 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03931/0.7277, allocations: 11.58 MB / 0.9118 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.724/8.452, allocations: 5.969 kB / 0.9118 GB, free: 11.59 MB / 0.6387 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)