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.0009162/0.0009162, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006527/0.006527, allocations: 169.7 kB / 16.27 MB, free: 6.648 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.545/1.545, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.858/1.858, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0007526/0.0007526, allocations: 15.81 kB / 0.6743 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3003, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.8198/1.12, allocations: 174.8 MB / 0.9586 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009679/1.13, allocations: 7.741 MB / 0.9662 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009494/1.131, allocations: 17.97 kB / 0.9662 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009383/1.132, allocations: 194.6 kB / 0.9664 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0041/1.136, allocations: 1.136 MB / 0.9675 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002268/1.138, allocations: 0.669 MB / 0.9681 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002574/1.141, allocations: 1.546 MB / 0.9697 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009612/1.142, allocations: 342.8 kB / 0.97 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003815/1.146, allocations: 0.7603 MB / 0.9707 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/1.147, allocations: 445.7 kB / 0.9712 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002162/1.148, allocations: 22.97 kB / 0.9712 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003114/1.151, allocations: 1.083 MB / 0.9722 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003192/1.151, allocations: 143.1 kB / 0.9724 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006096/1.152, allocations: 257.4 kB / 0.9726 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002499/1.154, allocations: 0.9652 MB / 0.9736 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.154, allocations: 1.094 kB / 0.9736 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.184e-06/1.154, allocations: 0 / 0.9736 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.441e-05/1.154, allocations: 0 / 0.9736 GB, free: 14.47 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.001621/1.156, allocations: 0.7198 MB / 0.9743 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/1.156, allocations: 10.03 kB / 0.9743 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/1.157, allocations: 161.2 kB / 0.9744 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006585/1.158, allocations: 378.2 kB / 0.9748 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/1.158, allocations: 32.38 kB / 0.9748 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.018e-05/1.158, allocations: 39.19 kB / 0.9749 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008326/1.159, allocations: 452.7 kB / 0.9753 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/1.159, allocations: 3.234 kB / 0.9753 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.764e-05/1.159, allocations: 18.94 kB / 0.9753 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/1.159, allocations: 8.25 kB / 0.9753 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006468/1.159, allocations: 337.7 kB / 0.9756 GB, free: 13.31 MB / 0.7325 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.002463/1.162, allocations: 2.021 MB / 0.9776 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004172/1.162, allocations: 238.4 kB / 0.9778 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/1.163, allocations: 157.3 kB / 0.978 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006486/1.163, allocations: 319.4 kB / 0.9783 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/1.163, allocations: 35.92 kB / 0.9783 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=24): time 1.904e-06/1.163, allocations: 0 / 0.9783 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24): time 0.001198/1.164, allocations: 474.9 kB / 0.9788 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/1.165, allocations: 57.88 kB / 0.9788 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000505/1.165, allocations: 396.9 kB / 0.9792 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/1.165, allocations: 30.27 kB / 0.9792 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000195/1.165, allocations: 232.4 kB / 0.9795 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.906e-05/1.165, allocations: 88.39 kB / 0.9795 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.007e-05/1.165, allocations: 29.11 kB / 0.9796 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001637/1.166, allocations: 354.8 kB / 0.9799 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/1.166, allocations: 118.7 kB / 0.98 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/1.166, allocations: 187.8 kB / 0.9802 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005197/1.167, allocations: 318.8 kB / 0.9805 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.167, allocations: 4 kB / 0.9805 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006359/1.167, allocations: 373.3 kB / 0.9809 GB, free: 10 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/1.167, allocations: 7.594 kB / 0.9809 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/1.167, allocations: 3.438 kB / 0.9809 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/1.167, allocations: 2.688 kB / 0.9809 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/1.168, allocations: 61.5 kB / 0.9809 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/1.168, allocations: 2.844 kB / 0.9809 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003562/1.168, allocations: 57.31 kB / 0.981 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/1.168, allocations: 12.98 kB / 0.981 GB, free: 9.953 MB / 0.7325 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.0002045/1.168, allocations: 172 kB / 0.9812 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.121e-05/1.168, allocations: 40.41 kB / 0.9812 GB, free: 9.801 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006963/1.169, allocations: 384.8 kB / 0.9816 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/1.169, allocations: 0 / 0.9816 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.169, allocations: 2.844 kB / 0.9816 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/1.169, allocations: 0 / 0.9816 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/1.171, allocations: 0.9476 MB / 0.9825 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/1.171, allocations: 3.125 kB / 0.9825 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/1.171, allocations: 57 kB / 0.9826 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/1.171, allocations: 6.969 kB / 0.9826 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/1.171, allocations: 10.19 kB / 0.9826 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/1.171, allocations: 0 / 0.9826 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.171, allocations: 3.562 kB / 0.9826 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009522/1.172, allocations: 0.6481 MB / 0.9832 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/1.172, allocations: 148.2 kB / 0.9834 GB, free: 8.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.6e-05/1.172, allocations: 8.406 kB / 0.9834 GB, free: 8.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/1.173, allocations: 32.19 kB / 0.9834 GB, free: 8.703 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.341e-05/1.173, allocations: 24.86 kB / 0.9834 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/1.173, allocations: 10.2 kB / 0.9834 GB, free: 8.688 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002718/1.173, allocations: 279 kB / 0.9837 GB, free: 8.566 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.173, allocations: 0 / 0.9837 GB, free: 8.566 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005076/1.174, allocations: 109.5 kB / 0.9838 GB, free: 8.555 MB / 0.7325 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.0004425/1.174, allocations: 173.5 kB / 0.984 GB, free: 8.438 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006703/1.175, allocations: 303 kB / 0.9843 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/1.175, allocations: 0 / 0.9843 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000286/1.175, allocations: 149.9 kB / 0.9844 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/1.176, allocations: 213.9 kB / 0.9846 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/1.178, allocations: 0.9794 MB / 0.9856 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/1.178, allocations: 0.8356 MB / 0.9864 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004439/1.179, allocations: 94.12 kB / 0.9865 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/1.179, allocations: 32.34 kB / 0.9865 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of SimCode: time 2.265e-06/1.179, allocations: 0 / 0.9865 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of Templates: time 0.01537/1.194, allocations: 7.211 MB / 0.9935 GB, free: 3.285 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: