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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001604/0.001605, allocations: 188.1 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.794/1.794, allocations: 292.2 MB / 0.5485 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 65.67 kB / 0.671 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2985, allocations: 114.6 MB / 0.7829 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.7715/1.07, allocations: 177 MB / 0.9557 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008165/1.078, allocations: 7.77 MB / 0.9633 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007607/1.079, allocations: 17.16 kB / 0.9633 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006584/1.08, allocations: 207.5 kB / 0.9635 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003254/1.083, allocations: 1.155 MB / 0.9647 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001996/1.085, allocations: 0.6635 MB / 0.9653 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00154/1.087, allocations: 1.085 MB / 0.9664 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005577/1.087, allocations: 387.3 kB / 0.9667 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002723/1.09, allocations: 0.818 MB / 0.9675 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006047/1.091, allocations: 467.5 kB / 0.968 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.779e-05/1.091, allocations: 37.47 kB / 0.968 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001811/1.092, allocations: 0.974 MB / 0.969 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002103/1.093, allocations: 165.2 kB / 0.9691 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002837/1.093, allocations: 243.3 kB / 0.9694 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001353/1.094, allocations: 0.9992 MB / 0.9703 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/1.094, allocations: 0 / 0.9703 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.453e-06/1.094, allocations: 0 / 0.9703 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.297e-06/1.094, allocations: 9.156 kB / 0.9703 GB, free: 5.398 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.001348/1.096, allocations: 0.8042 MB / 0.9711 GB, free: 20.84 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/1.096, allocations: 11.59 kB / 0.9711 GB, free: 20.84 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009472/1.097, allocations: 155.3 kB / 0.9713 GB, free: 20.81 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005022/1.097, allocations: 382 kB / 0.9717 GB, free: 20.56 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/1.097, allocations: 27.16 kB / 0.9717 GB, free: 20.56 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.461e-05/1.097, allocations: 38.62 kB / 0.9717 GB, free: 20.56 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006771/1.098, allocations: 453.7 kB / 0.9721 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/1.098, allocations: 3.984 kB / 0.9722 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.538e-05/1.098, allocations: 14.44 kB / 0.9722 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/1.098, allocations: 16.59 kB / 0.9722 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005659/1.099, allocations: 323.8 kB / 0.9725 GB, free: 20.44 MB / 0.7481 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.00208/1.101, allocations: 2.006 MB / 0.9744 GB, free: 19.09 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003723/1.101, allocations: 243.2 kB / 0.9747 GB, free: 19.06 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/1.101, allocations: 151.1 kB / 0.9748 GB, free: 19.05 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005909/1.102, allocations: 302.7 kB / 0.9751 GB, free: 18.77 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/1.102, allocations: 39.33 kB / 0.9752 GB, free: 18.72 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=24): time 2.024e-06/1.102, allocations: 0 / 0.9752 GB, free: 18.72 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24): time 0.0009597/1.103, allocations: 450.3 kB / 0.9756 GB, free: 18.67 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/1.103, allocations: 56.48 kB / 0.9756 GB, free: 18.61 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003673/1.103, allocations: 400.8 kB / 0.976 GB, free: 18.49 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/1.103, allocations: 30.39 kB / 0.976 GB, free: 18.46 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/1.104, allocations: 235.7 kB / 0.9763 GB, free: 18.33 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.155e-05/1.104, allocations: 76.84 kB / 0.9763 GB, free: 18.29 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.487e-05/1.104, allocations: 54.09 kB / 0.9764 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001686/1.104, allocations: 357.1 kB / 0.9767 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/1.104, allocations: 111.2 kB / 0.9768 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/1.104, allocations: 187.9 kB / 0.977 GB, free: 17.88 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004563/1.105, allocations: 300.5 kB / 0.9773 GB, free: 17.82 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/1.105, allocations: 2.531 kB / 0.9773 GB, free: 17.82 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005974/1.105, allocations: 369.9 kB / 0.9777 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/1.105, allocations: 5.625 kB / 0.9777 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/1.105, allocations: 2.25 kB / 0.9777 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/1.106, allocations: 3.469 kB / 0.9777 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/1.106, allocations: 56.47 kB / 0.9777 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/1.106, allocations: 8.969 kB / 0.9777 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003165/1.106, allocations: 57.34 kB / 0.9778 GB, free: 17.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/1.106, allocations: 14.44 kB / 0.9778 GB, free: 17.73 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.0001829/1.106, allocations: 167 kB / 0.978 GB, free: 17.61 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.609e-05/1.106, allocations: 38.69 kB / 0.978 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006557/1.107, allocations: 376.2 kB / 0.9784 GB, free: 17.54 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/1.107, allocations: 7.438 kB / 0.9784 GB, free: 17.54 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.107, allocations: 2 kB / 0.9784 GB, free: 17.54 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/1.107, allocations: 7.125 kB / 0.9784 GB, free: 17.54 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/1.108, allocations: 0.9362 MB / 0.9793 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/1.108, allocations: 2.406 kB / 0.9793 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/1.109, allocations: 46.08 kB / 0.9793 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/1.109, allocations: 3.5 kB / 0.9793 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/1.109, allocations: 11.03 kB / 0.9793 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/1.109, allocations: 5.031 kB / 0.9794 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.109, allocations: 2.188 kB / 0.9794 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008285/1.11, allocations: 0.6272 MB / 0.98 GB, free: 16.95 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/1.11, allocations: 151.8 kB / 0.9801 GB, free: 16.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.534e-05/1.11, allocations: 7.5 kB / 0.9801 GB, free: 16.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/1.11, allocations: 22.44 kB / 0.9801 GB, free: 16.82 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/1.11, allocations: 24.78 kB / 0.9802 GB, free: 16.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/1.11, allocations: 9.031 kB / 0.9802 GB, free: 16.82 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002562/1.11, allocations: 281.7 kB / 0.9804 GB, free: 16.73 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/1.11, allocations: 1.438 kB / 0.9804 GB, free: 16.73 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004855/1.111, allocations: 119.3 kB / 0.9806 GB, free: 16.71 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.0003569/1.111, allocations: 161.9 kB / 0.9807 GB, free: 16.62 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005595/1.112, allocations: 300.1 kB / 0.981 GB, free: 16.61 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.112, allocations: 1.688 kB / 0.981 GB, free: 16.61 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002482/1.112, allocations: 153.1 kB / 0.9811 GB, free: 16.61 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/1.113, allocations: 234.4 kB / 0.9814 GB, free: 16.56 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/1.114, allocations: 0.9561 MB / 0.9823 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/1.115, allocations: 0.8251 MB / 0.9831 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003222/1.115, allocations: 100.2 kB / 0.9832 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.316e-05/1.115, allocations: 37.47 kB / 0.9832 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of SimCode: time 3.5e-07/1.115, allocations: 0 / 0.9832 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of Templates: time 0.01216/1.127, allocations: 7.518 MB / 0.9906 GB, free: 14.8 MB / 0.7481 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)