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.001308/0.001308, allocations: 105.2 kB / 15.99 MB, free: 6.352 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.001481/0.001481, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.417/1.417, allocations: 205.1 MB / 222.8 MB, free: 4.91 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.739/1.739, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001413/0.001413, allocations: 68.89 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2411, allocations: 114.6 MB / 0.7835 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.7415/0.9826, allocations: 177 MB / 0.9564 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009519/0.9922, allocations: 7.772 MB / 0.964 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009192/0.9931, allocations: 17.19 kB / 0.964 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007831/0.994, allocations: 209.3 kB / 0.9642 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003781/0.9978, allocations: 1.145 MB / 0.9653 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002151/0.9999, allocations: 0.6652 MB / 0.966 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001627/1.002, allocations: 1.084 MB / 0.967 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005799/1.002, allocations: 399 kB / 0.9674 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002863/1.005, allocations: 0.824 MB / 0.9682 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008517/1.006, allocations: 459.1 kB / 0.9686 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.179e-05/1.006, allocations: 37 kB / 0.9687 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002122/1.008, allocations: 0.9806 MB / 0.9696 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002091/1.008, allocations: 159.3 kB / 0.9698 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003419/1.009, allocations: 254.7 kB / 0.97 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001213/1.01, allocations: 0.6673 MB / 0.9707 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/1.01, allocations: 1.594 kB / 0.9707 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.823e-06/1.01, allocations: 0 / 0.9707 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.846e-06/1.01, allocations: 0 / 0.9707 GB, free: 5.336 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.001536/1.011, allocations: 0.806 MB / 0.9715 GB, free: 20.79 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/1.012, allocations: 8.938 kB / 0.9715 GB, free: 20.79 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/1.013, allocations: 158.3 kB / 0.9716 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005421/1.013, allocations: 382 kB / 0.972 GB, free: 20.5 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/1.013, allocations: 34.78 kB / 0.972 GB, free: 20.5 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.405e-05/1.013, allocations: 37.7 kB / 0.9721 GB, free: 20.5 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007024/1.014, allocations: 448 kB / 0.9725 GB, free: 20.39 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/1.014, allocations: 5.078 kB / 0.9725 GB, free: 20.39 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/1.014, allocations: 17.81 kB / 0.9725 GB, free: 20.39 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/1.014, allocations: 13.12 kB / 0.9725 GB, free: 20.38 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005667/1.015, allocations: 320.1 kB / 0.9728 GB, free: 20.38 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.002157/1.017, allocations: 2.009 MB / 0.9748 GB, free: 19.03 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/1.017, allocations: 236.8 kB / 0.975 GB, free: 19 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/1.017, allocations: 143 kB / 0.9752 GB, free: 19 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006107/1.018, allocations: 313.3 kB / 0.9755 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/1.018, allocations: 40.83 kB / 0.9755 GB, free: 18.67 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=24): time 2.155e-06/1.018, allocations: 1.469 kB / 0.9755 GB, free: 18.67 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24): time 0.0009927/1.019, allocations: 454 kB / 0.9759 GB, free: 18.61 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/1.019, allocations: 54.03 kB / 0.976 GB, free: 18.55 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004136/1.02, allocations: 395.7 kB / 0.9764 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/1.02, allocations: 30.8 kB / 0.9764 GB, free: 18.4 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/1.02, allocations: 233 kB / 0.9766 GB, free: 18.28 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.688e-05/1.02, allocations: 77.78 kB / 0.9767 GB, free: 18.23 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.153e-05/1.02, allocations: 55.92 kB / 0.9767 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.02, allocations: 358.5 kB / 0.9771 GB, free: 17.89 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/1.02, allocations: 113.6 kB / 0.9772 GB, free: 17.89 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/1.021, allocations: 180.6 kB / 0.9774 GB, free: 17.83 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004702/1.021, allocations: 301.8 kB / 0.9776 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.021, allocations: 6.219 kB / 0.9777 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000619/1.022, allocations: 367.7 kB / 0.978 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/1.022, allocations: 5.656 kB / 0.978 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.022, allocations: 2.438 kB / 0.978 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/1.022, allocations: 3.531 kB / 0.978 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/1.022, allocations: 61.52 kB / 0.9781 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/1.022, allocations: 7.5 kB / 0.9781 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/1.022, allocations: 52.61 kB / 0.9781 GB, free: 17.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/1.022, allocations: 13.16 kB / 0.9781 GB, free: 17.68 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.000184/1.023, allocations: 168 kB / 0.9783 GB, free: 17.56 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.445e-05/1.023, allocations: 43.22 kB / 0.9783 GB, free: 17.54 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006655/1.023, allocations: 369.2 kB / 0.9787 GB, free: 17.49 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/1.023, allocations: 9.266 kB / 0.9787 GB, free: 17.49 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.023, allocations: 0 / 0.9787 GB, free: 17.49 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.023, allocations: 3.938 kB / 0.9787 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/1.025, allocations: 0.9385 MB / 0.9796 GB, free: 17.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.025, allocations: 2.125 kB / 0.9796 GB, free: 17.11 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002514/1.025, allocations: 44.62 kB / 0.9797 GB, free: 17.11 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/1.025, allocations: 9.234 kB / 0.9797 GB, free: 17.11 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/1.025, allocations: 15.25 kB / 0.9797 GB, free: 17.11 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/1.025, allocations: 4.781 kB / 0.9797 GB, free: 17.11 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.025, allocations: 3.906 kB / 0.9797 GB, free: 17.11 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008644/1.026, allocations: 0.6222 MB / 0.9803 GB, free: 16.89 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/1.026, allocations: 150.7 kB / 0.9805 GB, free: 16.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.542e-05/1.026, allocations: 7.094 kB / 0.9805 GB, free: 16.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/1.026, allocations: 26.22 kB / 0.9805 GB, free: 16.77 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-05/1.026, allocations: 22.27 kB / 0.9805 GB, free: 16.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/1.027, allocations: 7 kB / 0.9805 GB, free: 16.77 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002884/1.027, allocations: 283.7 kB / 0.9808 GB, free: 16.68 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.182e-06/1.027, allocations: 1.203 kB / 0.9808 GB, free: 16.68 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004964/1.027, allocations: 119.2 kB / 0.9809 GB, free: 16.66 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.0004385/1.028, allocations: 166.9 kB / 0.9811 GB, free: 16.56 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005808/1.028, allocations: 302.2 kB / 0.9813 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.028, allocations: 1.375 kB / 0.9813 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002442/1.029, allocations: 151.7 kB / 0.9815 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/1.03, allocations: 226.1 kB / 0.9817 GB, free: 16.51 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/1.031, allocations: 0.9887 MB / 0.9827 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/1.031, allocations: 0.8245 MB / 0.9835 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/1.032, allocations: 47.02 kB / 0.9835 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of SimCode: time 4.01e-07/1.032, allocations: 0 / 0.9835 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of Templates: time 0.01029/1.042, allocations: 6.807 MB / 0.9902 GB, free: 14.59 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)