Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001154/0.001154, allocations: 101.6 kB / 16.27 MB, free: 5.934 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.001291/0.001291, allocations: 186.9 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8089/0.8089, allocations: 122.9 MB / 413.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 67.89 kB / 0.4911 GB, free: 7.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3577, allocations: 77.91 MB / 0.5672 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1901/0.5478, allocations: 179.4 MB / 0.7424 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3554/0.9033, allocations: 7.821 MB / 0.75 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000594/0.9039, allocations: 18.12 kB / 0.75 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006488/0.9045, allocations: 239.7 kB / 0.7503 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002704/0.9073, allocations: 1.228 MB / 0.7515 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.909, allocations: 0.7221 MB / 0.7522 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00123/0.9102, allocations: 1.075 MB / 0.7532 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006441/0.9109, allocations: 414.5 kB / 0.7536 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002192/0.9131, allocations: 0.8243 MB / 0.7544 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006557/0.9137, allocations: 432.1 kB / 0.7548 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.26e-05/0.9138, allocations: 36.72 kB / 0.7549 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002064/0.9159, allocations: 0.9471 MB / 0.7558 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002343/0.9161, allocations: 159.3 kB / 0.7559 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004137/0.9166, allocations: 246 kB / 0.7562 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001873/0.9184, allocations: 0.9315 MB / 0.7571 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.9185, allocations: 1.703 kB / 0.7571 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.283e-06/0.9185, allocations: 0.5 kB / 0.7571 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.38e-05/0.9185, allocations: 0.8438 kB / 0.7571 GB, free: 1.684 MB / 0.5762 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.001358/0.9199, allocations: 0.7946 MB / 0.7579 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.9199, allocations: 16.89 kB / 0.7579 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009918/0.9209, allocations: 153.3 kB / 0.758 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005328/0.9214, allocations: 385.5 kB / 0.7584 GB, free: 16.87 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/0.9215, allocations: 26.72 kB / 0.7584 GB, free: 16.87 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.209e-05/0.9216, allocations: 38.78 kB / 0.7585 GB, free: 16.87 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000724/0.9223, allocations: 453.4 kB / 0.7589 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.9223, allocations: 1.406 kB / 0.7589 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.613e-05/0.9224, allocations: 16.41 kB / 0.7589 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.9224, allocations: 12.98 kB / 0.7589 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006482/0.923, allocations: 322.7 kB / 0.7592 GB, free: 16.77 MB / 0.5919 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.00244/0.9255, allocations: 2.021 MB / 0.7612 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004898/0.926, allocations: 242 kB / 0.7614 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.9263, allocations: 149.1 kB / 0.7616 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006529/0.927, allocations: 310.5 kB / 0.7619 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.927, allocations: 34.56 kB / 0.7619 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 2.074e-06/0.927, allocations: 0 / 0.7619 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.001191/0.9282, allocations: 460 kB / 0.7623 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.9283, allocations: 54.97 kB / 0.7624 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005379/0.9288, allocations: 395.8 kB / 0.7628 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.9289, allocations: 27.42 kB / 0.7628 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.9291, allocations: 232.5 kB / 0.763 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.942e-05/0.9291, allocations: 82.47 kB / 0.7631 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.9292, allocations: 58.33 kB / 0.7632 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.9294, allocations: 354.2 kB / 0.7635 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.9296, allocations: 115.6 kB / 0.7636 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/0.9299, allocations: 188.6 kB / 0.7638 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005108/0.9304, allocations: 302.9 kB / 0.7641 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.9304, allocations: 0.5625 kB / 0.7641 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006724/0.9311, allocations: 368.3 kB / 0.7644 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.9312, allocations: 6.25 kB / 0.7644 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.9312, allocations: 2.156 kB / 0.7644 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.9312, allocations: 5.391 kB / 0.7644 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.9315, allocations: 56.03 kB / 0.7645 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.9315, allocations: 7.375 kB / 0.7645 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.9318, allocations: 39.19 kB / 0.7645 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.9318, allocations: 15.64 kB / 0.7645 GB, free: 14.11 MB / 0.5919 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.0001893/0.932, allocations: 172.8 kB / 0.7647 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.44e-05/0.9321, allocations: 38.81 kB / 0.7647 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007385/0.9329, allocations: 364.6 kB / 0.7651 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.9329, allocations: 9.188 kB / 0.7651 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.9329, allocations: 0.8125 kB / 0.7651 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.9329, allocations: 0 / 0.7651 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.9344, allocations: 0.9419 MB / 0.766 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.9345, allocations: 5.859 kB / 0.766 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/0.9347, allocations: 56.72 kB / 0.7661 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.9347, allocations: 3.562 kB / 0.7661 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.9347, allocations: 8.031 kB / 0.7661 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.9348, allocations: 3.156 kB / 0.7661 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.9348, allocations: 2.656 kB / 0.7661 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000919/0.9357, allocations: 0.6298 MB / 0.7667 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.9359, allocations: 149.3 kB / 0.7669 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.954e-05/0.9359, allocations: 9.062 kB / 0.7669 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.9362, allocations: 17.08 kB / 0.7669 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.601e-05/0.9363, allocations: 23.36 kB / 0.7669 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.9363, allocations: 6.969 kB / 0.7669 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003367/0.9366, allocations: 284.2 kB / 0.7672 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9366, allocations: 0 / 0.7672 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006007/0.9372, allocations: 108.7 kB / 0.7673 GB, free: 13.11 MB / 0.5919 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.0004624/0.9377, allocations: 177.4 kB / 0.7675 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006599/0.9384, allocations: 300.5 kB / 0.7677 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.9384, allocations: 1.906 kB / 0.7677 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003069/0.9387, allocations: 146.7 kB / 0.7679 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.9398, allocations: 222.4 kB / 0.7681 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.9413, allocations: 0.8199 MB / 0.7689 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/0.9418, allocations: 0.8257 MB / 0.7697 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000363/0.9422, allocations: 99.59 kB / 0.7698 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.9423, allocations: 38.41 kB / 0.7698 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of SimCode: time 1.122e-06/0.9423, allocations: 0 / 0.7698 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of Templates: time 0.01437/0.9567, allocations: 7.604 MB / 0.7773 GB, free: 11.59 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)