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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7599/0.7599, allocations: 143.4 MB / 159.2 MB, free: 4.867 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 184.5 kB / 191.9 MB, free: 5.727 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 447.3 MB, free: 5.863 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009488/0.0009489, allocations: 115 kB / 0.517 GB, free: 3.719 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001841/0.001841, allocations: 279.4 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 87.86 kB / 0.6885 GB, free: 3.855 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3625, allocations: 81.3 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5015/0.864, allocations: 177.2 MB / 0.9409 GB, free: 188 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.008024/0.8721, allocations: 7.859 MB / 0.9486 GB, free: 15.99 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006836/0.8728, allocations: 17.44 kB / 0.9486 GB, free: 15.99 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006201/0.8735, allocations: 190.3 kB / 0.9488 GB, free: 15.99 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.002885/0.8764, allocations: 1.152 MB / 0.9499 GB, free: 15.92 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.878, allocations: 0.6543 MB / 0.9506 GB, free: 15.9 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001476/0.8795, allocations: 1.552 MB / 0.9521 GB, free: 15.89 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004566/0.88, allocations: 342.9 kB / 0.9524 GB, free: 15.85 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00256/0.8826, allocations: 0.7687 MB / 0.9531 GB, free: 15.84 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006127/0.8832, allocations: 456.5 kB / 0.9536 GB, free: 15.83 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 5.154e-05/0.8832, allocations: 23.59 kB / 0.9536 GB, free: 15.83 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/0.885, allocations: 1.091 MB / 0.9547 GB, free: 15.82 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.8851, allocations: 147.7 kB / 0.9548 GB, free: 15.82 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002299/0.8854, allocations: 235.5 kB / 0.955 GB, free: 15.82 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.8865, allocations: 0.9751 MB / 0.956 GB, free: 15.73 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.8865, allocations: 0 / 0.956 GB, free: 15.73 MB / 0.573 GB Notification: Performance of FrontEnd: time 9.12e-07/0.8865, allocations: 0 / 0.956 GB, free: 15.73 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.8865, allocations: 0 / 0.956 GB, free: 15.73 MB / 0.573 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.001062/0.8876, allocations: 0.8089 MB / 0.9568 GB, free: 15.18 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.8877, allocations: 10.78 kB / 0.9568 GB, free: 15.18 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008293/0.8885, allocations: 155.6 kB / 0.9569 GB, free: 15.15 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004824/0.889, allocations: 382 kB / 0.9573 GB, free: 14.9 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.889, allocations: 28.34 kB / 0.9573 GB, free: 14.9 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.213e-05/0.8891, allocations: 41.5 kB / 0.9574 GB, free: 14.9 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006165/0.8897, allocations: 445.8 kB / 0.9578 GB, free: 14.79 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.8897, allocations: 4 kB / 0.9578 GB, free: 14.79 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.8898, allocations: 14.47 kB / 0.9578 GB, free: 14.79 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.8898, allocations: 12.88 kB / 0.9578 GB, free: 14.79 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005287/0.8903, allocations: 325.8 kB / 0.9581 GB, free: 14.78 MB / 0.573 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.001902/0.8922, allocations: 2.01 MB / 0.9601 GB, free: 13.42 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.8926, allocations: 242.4 kB / 0.9603 GB, free: 13.4 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002231/0.8928, allocations: 148.9 kB / 0.9605 GB, free: 13.39 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005404/0.8934, allocations: 308.4 kB / 0.9608 GB, free: 13.11 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.8934, allocations: 34.19 kB / 0.9608 GB, free: 13.07 MB / 0.573 GB Notification: Performance of pre-optimization done (n=24): time 1.523e-06/0.8934, allocations: 0 / 0.9608 GB, free: 13.07 MB / 0.573 GB Notification: Performance of matching and sorting (n=24): time 0.0009073/0.8943, allocations: 453.7 kB / 0.9612 GB, free: 13.01 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.8944, allocations: 58.16 kB / 0.9613 GB, free: 12.95 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003276/0.8947, allocations: 395.3 kB / 0.9617 GB, free: 12.84 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.8947, allocations: 32.2 kB / 0.9617 GB, free: 12.8 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.8949, allocations: 236.5 kB / 0.9619 GB, free: 12.68 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 5.841e-05/0.895, allocations: 86.33 kB / 0.962 GB, free: 12.62 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.843e-05/0.8951, allocations: 52.55 kB / 0.9621 GB, free: 12.61 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.8952, allocations: 355 kB / 0.9624 GB, free: 12.29 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.8954, allocations: 114.3 kB / 0.9625 GB, free: 12.29 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.8957, allocations: 186.2 kB / 0.9627 GB, free: 12.21 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004333/0.8961, allocations: 305.1 kB / 0.963 GB, free: 12.14 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.8961, allocations: 2.438 kB / 0.963 GB, free: 12.14 MB / 0.573 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005531/0.8967, allocations: 368.6 kB / 0.9633 GB, free: 12.09 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.8967, allocations: 7.625 kB / 0.9633 GB, free: 12.09 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.8967, allocations: 2.469 kB / 0.9633 GB, free: 12.09 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.8967, allocations: 1.938 kB / 0.9633 GB, free: 12.09 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.897, allocations: 59.5 kB / 0.9634 GB, free: 12.09 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.897, allocations: 2.469 kB / 0.9634 GB, free: 12.09 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002706/0.8973, allocations: 58.52 kB / 0.9634 GB, free: 12.06 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/0.8973, allocations: 14.41 kB / 0.9635 GB, free: 12.06 MB / 0.573 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.0001488/0.8975, allocations: 169.3 kB / 0.9636 GB, free: 11.94 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.181e-05/0.8975, allocations: 38.16 kB / 0.9637 GB, free: 11.92 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006529/0.8982, allocations: 372.6 kB / 0.964 GB, free: 11.87 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.8982, allocations: 2.469 kB / 0.964 GB, free: 11.87 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.8982, allocations: 0 / 0.964 GB, free: 11.87 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.8982, allocations: 0 / 0.964 GB, free: 11.87 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.8995, allocations: 0.9385 MB / 0.9649 GB, free: 11.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.8995, allocations: 3.219 kB / 0.9649 GB, free: 11.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.8998, allocations: 47.3 kB / 0.965 GB, free: 11.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.8998, allocations: 3.594 kB / 0.965 GB, free: 11.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.8998, allocations: 13.78 kB / 0.965 GB, free: 11.49 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.8998, allocations: 5.062 kB / 0.965 GB, free: 11.49 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.8998, allocations: 4.438 kB / 0.965 GB, free: 11.49 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004971/0.9048, allocations: 2.54 MB / 0.9675 GB, free: 10.35 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.905, allocations: 152.3 kB / 0.9676 GB, free: 10.23 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.449e-05/0.9051, allocations: 10.92 kB / 0.9676 GB, free: 10.23 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.9053, allocations: 22.28 kB / 0.9677 GB, free: 10.23 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.709e-05/0.9054, allocations: 25.12 kB / 0.9677 GB, free: 10.22 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.9054, allocations: 13.47 kB / 0.9677 GB, free: 10.22 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002945/0.9057, allocations: 284.7 kB / 0.968 GB, free: 10.13 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9057, allocations: 0 / 0.968 GB, free: 10.13 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.000648/0.9064, allocations: 159.3 kB / 0.9681 GB, free: 10.11 MB / 0.573 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.0003936/0.9068, allocations: 178 kB / 0.9683 GB, free: 10 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0005699/0.9074, allocations: 287.5 kB / 0.9686 GB, free: 9.996 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.9074, allocations: 0 / 0.9686 GB, free: 9.996 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002807/0.9077, allocations: 148.4 kB / 0.9687 GB, free: 9.996 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.9088, allocations: 204.8 kB / 0.9689 GB, free: 9.984 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.9104, allocations: 1.143 MB / 0.97 GB, free: 9.281 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/0.9109, allocations: 0.8352 MB / 0.9708 GB, free: 8.582 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003493/0.9113, allocations: 93.72 kB / 0.9709 GB, free: 8.562 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.9114, allocations: 39.73 kB / 0.971 GB, free: 8.551 MB / 0.573 GB Notification: Performance of SimCode: time 2.31e-07/0.9114, allocations: 0 / 0.971 GB, free: 8.551 MB / 0.573 GB Notification: Performance of Templates: time 0.01233/0.9237, allocations: 7.453 MB / 0.9782 GB, free: 5.027 MB / 0.573 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)