Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.705/1.705, allocations: 292.3 MB / 308.1 MB, free: 4.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001406/0.001406, allocations: 185.6 kB / 376.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.692/1.692, allocations: 205.1 MB / 0.6354 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 99 kB / 0.748 GB, free: 61.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001051, allocations: 55.92 kB / 0.8704 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3024, allocations: 114.5 MB / 0.9822 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.7097/1.012, allocations: 177.2 MB / 1.155 GB, free: 5.512 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.008864/1.021, allocations: 7.855 MB / 1.163 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000696/1.022, allocations: 23.91 kB / 1.163 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007435/1.023, allocations: 181.7 kB / 1.163 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.00319/1.026, allocations: 1.155 MB / 1.164 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001825/1.028, allocations: 0.6615 MB / 1.165 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001617/1.029, allocations: 1.549 MB / 1.166 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004931/1.03, allocations: 344.1 kB / 1.167 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0028/1.033, allocations: 0.763 MB / 1.167 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006601/1.033, allocations: 464.7 kB / 1.168 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.39e-05/1.033, allocations: 27.03 kB / 1.168 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001937/1.035, allocations: 1.094 MB / 1.169 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001681/1.035, allocations: 148.7 kB / 1.169 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002418/1.036, allocations: 228.3 kB / 1.169 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00124/1.037, allocations: 0.9774 MB / 1.17 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.037, allocations: 1.688 kB / 1.17 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.11e-07/1.037, allocations: 0 / 1.17 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.953e-06/1.037, allocations: 0 / 1.17 GB, free: 12.75 MB / 0.7761 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.001149/1.038, allocations: 0.8087 MB / 1.171 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/1.038, allocations: 9.812 kB / 1.171 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008962/1.039, allocations: 148.2 kB / 1.171 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005737/1.04, allocations: 387 kB / 1.172 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/1.04, allocations: 26 kB / 1.172 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.477e-05/1.04, allocations: 42.72 kB / 1.172 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006833/1.041, allocations: 442.8 kB / 1.172 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/1.041, allocations: 7.938 kB / 1.172 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/1.041, allocations: 15.12 kB / 1.172 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/1.041, allocations: 13.59 kB / 1.172 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005456/1.041, allocations: 317.8 kB / 1.172 GB, free: 11.42 MB / 0.7761 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.0022/1.043, allocations: 2.009 MB / 1.174 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004792/1.044, allocations: 241.2 kB / 1.175 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002786/1.044, allocations: 154.3 kB / 1.175 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000662/1.045, allocations: 311.2 kB / 1.175 GB, free: 9.344 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/1.045, allocations: 41.48 kB / 1.175 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=24): time 3.126e-06/1.045, allocations: 0 / 1.175 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24): time 0.001104/1.046, allocations: 453.2 kB / 1.176 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/1.046, allocations: 54.53 kB / 1.176 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004627/1.047, allocations: 397.8 kB / 1.176 GB, free: 8.879 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/1.047, allocations: 28.7 kB / 1.176 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/1.047, allocations: 231.1 kB / 1.176 GB, free: 8.656 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.203e-05/1.047, allocations: 82.16 kB / 1.176 GB, free: 8.594 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/1.047, allocations: 58.19 kB / 1.176 GB, free: 8.555 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001733/1.047, allocations: 357.8 kB / 1.177 GB, free: 8.219 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/1.047, allocations: 111.6 kB / 1.177 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/1.048, allocations: 176.9 kB / 1.177 GB, free: 8.086 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004964/1.048, allocations: 311.1 kB / 1.177 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.048, allocations: 0.9375 kB / 1.177 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006654/1.049, allocations: 360 kB / 1.178 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/1.049, allocations: 6.672 kB / 1.178 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/1.049, allocations: 3.656 kB / 1.178 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/1.049, allocations: 7.344 kB / 1.178 GB, free: 7.773 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/1.049, allocations: 55.59 kB / 1.178 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/1.049, allocations: 6.875 kB / 1.178 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003417/1.05, allocations: 56.83 kB / 1.178 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/1.05, allocations: 13.09 kB / 1.178 GB, free: 7.734 MB / 0.7761 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.0002285/1.05, allocations: 172.9 kB / 1.178 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.122e-05/1.05, allocations: 39.88 kB / 1.178 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007834/1.051, allocations: 364 kB / 1.178 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/1.051, allocations: 3.719 kB / 1.178 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.051, allocations: 0 / 1.178 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/1.051, allocations: 0 / 1.178 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/1.052, allocations: 0.9402 MB / 1.179 GB, free: 6.844 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.052, allocations: 5.219 kB / 1.179 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/1.053, allocations: 52.91 kB / 1.179 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/1.053, allocations: 7.25 kB / 1.179 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/1.053, allocations: 11.09 kB / 1.179 GB, free: 6.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/1.053, allocations: 10.67 kB / 1.179 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/1.053, allocations: 3.125 kB / 1.179 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005167/1.058, allocations: 2.539 MB / 1.182 GB, free: 5.195 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/1.058, allocations: 150.4 kB / 1.182 GB, free: 5.062 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.765e-05/1.058, allocations: 10.84 kB / 1.182 GB, free: 5.055 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002788/1.058, allocations: 24.23 kB / 1.182 GB, free: 5.051 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.583e-05/1.058, allocations: 27.95 kB / 1.182 GB, free: 5.039 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/1.058, allocations: 6.656 kB / 1.182 GB, free: 5.039 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002777/1.059, allocations: 289.1 kB / 1.182 GB, free: 4.898 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.81e-07/1.059, allocations: 0 / 1.182 GB, free: 4.898 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006879/1.059, allocations: 156.5 kB / 1.182 GB, free: 4.875 MB / 0.7761 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.0004562/1.06, allocations: 165.1 kB / 1.183 GB, free: 4.77 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000584/1.061, allocations: 288.7 kB / 1.183 GB, free: 4.684 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.061, allocations: 0 / 1.183 GB, free: 4.684 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002585/1.061, allocations: 148.4 kB / 1.183 GB, free: 4.641 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/1.062, allocations: 210.2 kB / 1.183 GB, free: 4.594 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/1.063, allocations: 1.137 MB / 1.184 GB, free: 3.797 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/1.064, allocations: 0.8404 MB / 1.185 GB, free: 3.082 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003267/1.064, allocations: 104.9 kB / 1.185 GB, free: 3.055 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.336e-05/1.064, allocations: 33.09 kB / 1.185 GB, free: 3.047 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/1.064, allocations: 0 / 1.185 GB, free: 3.047 MB / 0.7761 GB Notification: Performance of Templates: time 0.01336/1.078, allocations: 7.456 MB / 1.193 GB, free: 2.547 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)