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: translateModel(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009995/0.0009995, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.001241/0.001241, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001765/0.001765, allocations: 267 kB / 291.3 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9355/0.9355, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004184/0.0004185, allocations: 13.94 kB / 0.598 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.141, allocations: 88.55 MB / 0.6845 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4296/0.5707, allocations: 163.1 MB / 0.8438 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007827/0.5786, allocations: 7.277 MB / 0.8509 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003471/0.5789, allocations: 15.81 kB / 0.8509 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005139/0.5795, allocations: 167.4 kB / 0.851 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.5814, allocations: 0.8864 MB / 0.8519 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.5827, allocations: 0.526 MB / 0.8524 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0011/0.5838, allocations: 1.3 MB / 0.8537 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000436/0.5843, allocations: 321.5 kB / 0.854 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.5855, allocations: 0.6843 MB / 0.8547 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005228/0.586, allocations: 427.7 kB / 0.8551 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.381e-05/0.5861, allocations: 23.88 kB / 0.8551 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.5871, allocations: 0.5231 MB / 0.8556 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.5873, allocations: 142.2 kB / 0.8557 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.212e-05/0.5874, allocations: 114.8 kB / 0.8558 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006108/0.588, allocations: 0.588 MB / 0.8564 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.588, allocations: 0 / 0.8564 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.332e-06/0.588, allocations: 0 / 0.8564 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.588, allocations: 0 / 0.8564 GB, free: 10.12 MB / 0.5762 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.000912/0.5889, allocations: 0.7286 MB / 0.8571 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.589, allocations: 14.84 kB / 0.8571 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008735/0.5899, allocations: 151.9 kB / 0.8573 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004621/0.5903, allocations: 373.6 kB / 0.8576 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.5904, allocations: 26.78 kB / 0.8577 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.032e-05/0.5904, allocations: 40.61 kB / 0.8577 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006653/0.5911, allocations: 449 kB / 0.8581 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.5911, allocations: 0 / 0.8581 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/0.5912, allocations: 17.09 kB / 0.8582 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.5912, allocations: 8.031 kB / 0.8582 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005558/0.5917, allocations: 331 kB / 0.8585 GB, free: 8.602 MB / 0.5762 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.001913/0.5937, allocations: 2.013 MB / 0.8604 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003772/0.5941, allocations: 247.8 kB / 0.8607 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.5943, allocations: 154.4 kB / 0.8608 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005423/0.5948, allocations: 320.6 kB / 0.8611 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.5949, allocations: 38.36 kB / 0.8612 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=24): time 2.625e-06/0.5949, allocations: 7.984 kB / 0.8612 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24): time 0.0009042/0.5958, allocations: 469.6 kB / 0.8616 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.5959, allocations: 54.34 kB / 0.8617 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003628/0.5962, allocations: 391.5 kB / 0.8621 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.5963, allocations: 35.39 kB / 0.8621 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.5964, allocations: 236.9 kB / 0.8623 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.453e-05/0.5965, allocations: 83.97 kB / 0.8624 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.767e-05/0.5965, allocations: 6.438 kB / 0.8624 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.5966, allocations: 351.1 kB / 0.8627 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.5969, allocations: 119.3 kB / 0.8628 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.5971, allocations: 183.2 kB / 0.863 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.5974, allocations: 137.1 kB / 0.8632 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.5974, allocations: 0 / 0.8632 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005997/0.598, allocations: 376 kB / 0.8635 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.598, allocations: 5.469 kB / 0.8635 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.598, allocations: 2.469 kB / 0.8635 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.598, allocations: 7.078 kB / 0.8635 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/0.5983, allocations: 65.22 kB / 0.8636 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.5983, allocations: 3.469 kB / 0.8636 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.5986, allocations: 53.38 kB / 0.8636 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.5986, allocations: 11.88 kB / 0.8637 GB, free: 4.48 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001614/0.5988, allocations: 167.1 kB / 0.8638 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.039e-05/0.5988, allocations: 43.5 kB / 0.8639 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006776/0.5995, allocations: 385.5 kB / 0.8642 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.5995, allocations: 3.062 kB / 0.8642 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5996, allocations: 3.953 kB / 0.8642 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.5996, allocations: 3.984 kB / 0.8642 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.6008, allocations: 0.9483 MB / 0.8652 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.6009, allocations: 3.125 kB / 0.8652 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.6011, allocations: 50.03 kB / 0.8652 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.6011, allocations: 6.594 kB / 0.8652 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.6011, allocations: 9.844 kB / 0.8652 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.6011, allocations: 2.969 kB / 0.8652 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.6012, allocations: 0 / 0.8652 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008564/0.602, allocations: 0.6476 MB / 0.8659 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.6022, allocations: 147.1 kB / 0.866 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.521e-05/0.6022, allocations: 9.75 kB / 0.866 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.6025, allocations: 25.78 kB / 0.866 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.6025, allocations: 22.8 kB / 0.8661 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.6026, allocations: 9.125 kB / 0.8661 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002489/0.6028, allocations: 284.9 kB / 0.8663 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.483e-06/0.6028, allocations: 0 / 0.8663 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004026/0.6032, allocations: 111.5 kB / 0.8664 GB, free: 2.531 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003484/0.6036, allocations: 199.6 kB / 0.8666 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005206/0.6041, allocations: 288.6 kB / 0.8669 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6041, allocations: 4.062 kB / 0.8669 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.6044, allocations: 156.6 kB / 0.8671 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009583/0.6054, allocations: 205.3 kB / 0.8673 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.6065, allocations: 0.9399 MB / 0.8682 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.6069, allocations: 0.8354 MB / 0.869 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000294/0.6072, allocations: 94.03 kB / 0.8691 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.539e-05/0.6073, allocations: 34.66 kB / 0.8691 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.6073, allocations: 0 / 0.8691 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of Templates: time 0.01143/0.6187, allocations: 7.008 MB / 0.876 GB, free: 11.84 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)