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.001109/0.001109, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001267/0.001267, allocations: 194.3 kB / 16.14 MB, free: 6.703 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.56/1.56, allocations: 205.1 MB / 222 MB, free: 4.734 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.787/1.787, allocations: 292.2 MB / 0.5484 GB, free: 13.69 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.001343/0.001343, allocations: 66.28 kB / 0.6708 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2639, allocations: 114.5 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.7879/1.052, allocations: 177.2 MB / 0.9557 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01021/1.062, allocations: 7.857 MB / 0.9634 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/1.063, allocations: 19.94 kB / 0.9634 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009659/1.064, allocations: 188.7 kB / 0.9636 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003732/1.068, allocations: 1.139 MB / 0.9647 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001941/1.07, allocations: 0.6734 MB / 0.9653 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001853/1.072, allocations: 1.542 MB / 0.9668 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005668/1.072, allocations: 343.5 kB / 0.9672 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003072/1.076, allocations: 0.7628 MB / 0.9679 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008198/1.076, allocations: 456.1 kB / 0.9683 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.511e-05/1.076, allocations: 26.97 kB / 0.9684 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002355/1.079, allocations: 1.093 MB / 0.9694 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001843/1.079, allocations: 145.9 kB / 0.9696 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003009/1.079, allocations: 238.8 kB / 0.9698 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001456/1.081, allocations: 0.9723 MB / 0.9707 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.081, allocations: 0 / 0.9707 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.022e-06/1.081, allocations: 0 / 0.9707 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.045e-06/1.081, allocations: 0 / 0.9707 GB, free: 5.168 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.001641/1.082, allocations: 0.8078 MB / 0.9715 GB, free: 20.62 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/1.083, allocations: 9.062 kB / 0.9715 GB, free: 20.62 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/1.084, allocations: 158.7 kB / 0.9717 GB, free: 20.58 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006006/1.084, allocations: 377.5 kB / 0.9721 GB, free: 20.33 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.952e-05/1.084, allocations: 30.78 kB / 0.9721 GB, free: 20.33 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.99e-05/1.084, allocations: 42.59 kB / 0.9721 GB, free: 20.33 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007843/1.085, allocations: 446.6 kB / 0.9726 GB, free: 20.22 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/1.085, allocations: 2.875 kB / 0.9726 GB, free: 20.22 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.798e-05/1.085, allocations: 13.69 kB / 0.9726 GB, free: 20.22 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/1.085, allocations: 13.19 kB / 0.9726 GB, free: 20.22 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006427/1.086, allocations: 319.8 kB / 0.9729 GB, free: 20.21 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.002314/1.088, allocations: 2.013 MB / 0.9749 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/1.089, allocations: 240.1 kB / 0.9751 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/1.089, allocations: 147.2 kB / 0.9752 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006055/1.09, allocations: 305.8 kB / 0.9755 GB, free: 18.54 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/1.09, allocations: 47.06 kB / 0.9756 GB, free: 18.49 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=24): time 1.703e-06/1.09, allocations: 0 / 0.9756 GB, free: 18.49 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24): time 0.001059/1.091, allocations: 452.8 kB / 0.976 GB, free: 18.44 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/1.091, allocations: 54.22 kB / 0.976 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004772/1.091, allocations: 394.1 kB / 0.9764 GB, free: 18.26 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/1.091, allocations: 34.05 kB / 0.9764 GB, free: 18.23 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/1.091, allocations: 235.9 kB / 0.9767 GB, free: 18.1 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.895e-05/1.091, allocations: 77.61 kB / 0.9767 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/1.092, allocations: 60.95 kB / 0.9768 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.092, allocations: 354.2 kB / 0.9771 GB, free: 17.72 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002297/1.092, allocations: 110.8 kB / 0.9772 GB, free: 17.72 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/1.092, allocations: 185.4 kB / 0.9774 GB, free: 17.65 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004816/1.093, allocations: 307.4 kB / 0.9777 GB, free: 17.58 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.093, allocations: 1.031 kB / 0.9777 GB, free: 17.58 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006131/1.093, allocations: 367.1 kB / 0.9781 GB, free: 17.52 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/1.093, allocations: 5.938 kB / 0.9781 GB, free: 17.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/1.093, allocations: 2.344 kB / 0.9781 GB, free: 17.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/1.093, allocations: 2.625 kB / 0.9781 GB, free: 17.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/1.094, allocations: 61.97 kB / 0.9781 GB, free: 17.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/1.094, allocations: 5.312 kB / 0.9781 GB, free: 17.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/1.094, allocations: 60.45 kB / 0.9782 GB, free: 17.49 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-05/1.094, allocations: 9.375 kB / 0.9782 GB, free: 17.49 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.0001637/1.094, allocations: 169.2 kB / 0.9784 GB, free: 17.37 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.215e-05/1.094, allocations: 39.28 kB / 0.9784 GB, free: 17.35 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006925/1.095, allocations: 366.8 kB / 0.9788 GB, free: 17.3 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/1.095, allocations: 6.406 kB / 0.9788 GB, free: 17.3 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.095, allocations: 3.234 kB / 0.9788 GB, free: 17.3 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.095, allocations: 0 / 0.9788 GB, free: 17.3 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/1.096, allocations: 0.9431 MB / 0.9797 GB, free: 16.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.096, allocations: 5.312 kB / 0.9797 GB, free: 16.92 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/1.097, allocations: 47.58 kB / 0.9797 GB, free: 16.92 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/1.097, allocations: 3.5 kB / 0.9797 GB, free: 16.92 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/1.097, allocations: 11.47 kB / 0.9798 GB, free: 16.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/1.097, allocations: 6.281 kB / 0.9798 GB, free: 16.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.097, allocations: 1.969 kB / 0.9798 GB, free: 16.92 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009016/1.098, allocations: 0.6324 MB / 0.9804 GB, free: 16.7 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/1.098, allocations: 154 kB / 0.9805 GB, free: 16.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.637e-05/1.098, allocations: 7.969 kB / 0.9805 GB, free: 16.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/1.098, allocations: 21.81 kB / 0.9806 GB, free: 16.58 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/1.098, allocations: 24.17 kB / 0.9806 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/1.098, allocations: 6.406 kB / 0.9806 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000283/1.099, allocations: 282.4 kB / 0.9809 GB, free: 16.49 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/1.099, allocations: 1.469 kB / 0.9809 GB, free: 16.49 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005317/1.099, allocations: 111.9 kB / 0.981 GB, free: 16.47 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.0004075/1.099, allocations: 173.4 kB / 0.9811 GB, free: 16.37 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005869/1.1, allocations: 283.2 kB / 0.9814 GB, free: 16.37 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/1.1, allocations: 0 / 0.9814 GB, free: 16.37 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002647/1.1, allocations: 148.3 kB / 0.9815 GB, free: 16.37 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/1.101, allocations: 213 kB / 0.9817 GB, free: 16.34 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/1.103, allocations: 0.9579 MB / 0.9827 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/1.103, allocations: 0.8283 MB / 0.9835 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003454/1.103, allocations: 102.4 kB / 0.9836 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.394e-05/1.104, allocations: 32.5 kB / 0.9836 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of SimCode: time 5.01e-07/1.104, allocations: 1.25 kB / 0.9836 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of Templates: time 0.01362/1.117, allocations: 7.251 MB / 0.9907 GB, free: 14.58 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)