Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001368/0.001368, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001248/0.001248, allocations: 198.4 kB / 16.14 MB, free: 6.801 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.448/1.448, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.985/0.985, allocations: 135.1 MB / 425.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 67.8 kB / 0.5047 GB, free: 5.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1961, allocations: 80.93 MB / 0.5837 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4907/0.6869, allocations: 177.2 MB / 0.7567 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01074/0.6977, allocations: 7.849 MB / 0.7644 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009876/0.6987, allocations: 19.88 kB / 0.7644 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008664/0.6996, allocations: 190.8 kB / 0.7646 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003464/0.7031, allocations: 1.144 MB / 0.7657 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.7051, allocations: 0.6572 MB / 0.7663 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00163/0.7067, allocations: 1.548 MB / 0.7678 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000535/0.7072, allocations: 351.7 kB / 0.7682 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002749/0.71, allocations: 0.7591 MB / 0.7689 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007606/0.7108, allocations: 454.4 kB / 0.7694 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.156e-05/0.7109, allocations: 24 kB / 0.7694 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001994/0.7129, allocations: 1.091 MB / 0.7704 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.713, allocations: 147.6 kB / 0.7706 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002619/0.7133, allocations: 234.8 kB / 0.7708 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00143/0.7147, allocations: 0.9815 MB / 0.7718 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.7148, allocations: 0 / 0.7718 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.12e-07/0.7148, allocations: 4 kB / 0.7718 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.7148, allocations: 0 / 0.7718 GB, free: 12.85 MB / 0.5919 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.001195/0.716, allocations: 0.8045 MB / 0.7726 GB, free: 12 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.716, allocations: 11.97 kB / 0.7726 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009954/0.717, allocations: 147.2 kB / 0.7727 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005351/0.7176, allocations: 387.4 kB / 0.7731 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.7176, allocations: 29 kB / 0.7731 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.917e-05/0.7177, allocations: 36 kB / 0.7731 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007759/0.7185, allocations: 446.4 kB / 0.7736 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.7185, allocations: 7.938 kB / 0.7736 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.087e-05/0.7185, allocations: 19.94 kB / 0.7736 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.095e-05/0.7186, allocations: 10.69 kB / 0.7736 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000645/0.7192, allocations: 327.7 kB / 0.7739 GB, free: 10.55 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.002339/0.7216, allocations: 2.004 MB / 0.7759 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000412/0.722, allocations: 239.1 kB / 0.7761 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002683/0.7223, allocations: 148.8 kB / 0.7762 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006345/0.7229, allocations: 315.2 kB / 0.7765 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.723, allocations: 34.56 kB / 0.7766 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.754e-06/0.723, allocations: 0 / 0.7766 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.001107/0.7241, allocations: 449.8 kB / 0.777 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.146e-05/0.7242, allocations: 59.27 kB / 0.7771 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004231/0.7246, allocations: 402 kB / 0.7774 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.7247, allocations: 25.7 kB / 0.7775 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.7248, allocations: 236.2 kB / 0.7777 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.7249, allocations: 82.81 kB / 0.7778 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.7251, allocations: 57.7 kB / 0.7778 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.7252, allocations: 354.7 kB / 0.7782 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.7255, allocations: 107.9 kB / 0.7783 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/0.7258, allocations: 183.3 kB / 0.7784 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005086/0.7263, allocations: 306.5 kB / 0.7787 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.7263, allocations: 0 / 0.7787 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006769/0.727, allocations: 368.7 kB / 0.7791 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.727, allocations: 4 kB / 0.7791 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.727, allocations: 4 kB / 0.7791 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.727, allocations: 4 kB / 0.7791 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.7273, allocations: 55.91 kB / 0.7791 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.7273, allocations: 4.625 kB / 0.7792 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.7277, allocations: 59.72 kB / 0.7792 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.7277, allocations: 12 kB / 0.7792 GB, free: 4.762 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.0001828/0.7279, allocations: 166.8 kB / 0.7794 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.86e-05/0.728, allocations: 43.47 kB / 0.7794 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007418/0.7287, allocations: 373.5 kB / 0.7798 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.7287, allocations: 4 kB / 0.7798 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.7288, allocations: 0 / 0.7798 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.7288, allocations: 3.984 kB / 0.7798 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.7302, allocations: 0.9409 MB / 0.7807 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.7302, allocations: 48 / 0.7807 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.7305, allocations: 55.89 kB / 0.7808 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.7305, allocations: 7.938 kB / 0.7808 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.7306, allocations: 8 kB / 0.7808 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.7306, allocations: 8.219 kB / 0.7808 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.7306, allocations: 0 / 0.7808 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009628/0.7316, allocations: 0.6294 MB / 0.7814 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.7317, allocations: 148.5 kB / 0.7815 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.438e-05/0.7318, allocations: 8 kB / 0.7815 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.7321, allocations: 28.03 kB / 0.7816 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.035e-05/0.7322, allocations: 19.92 kB / 0.7816 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.7322, allocations: 8 kB / 0.7816 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002831/0.7325, allocations: 287.1 kB / 0.7819 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7325, allocations: 0 / 0.7819 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004756/0.733, allocations: 111.8 kB / 0.782 GB, free: 1.793 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.0004328/0.7334, allocations: 171.7 kB / 0.7821 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006251/0.734, allocations: 287.4 kB / 0.7824 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.734, allocations: 0 / 0.7824 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002902/0.7343, allocations: 152.2 kB / 0.7826 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.7355, allocations: 218.7 kB / 0.7828 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.7369, allocations: 0.9565 MB / 0.7837 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.7373, allocations: 0.8236 MB / 0.7845 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003472/0.7376, allocations: 97.61 kB / 0.7846 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.7378, allocations: 39.44 kB / 0.7846 GB, free: 15 MB / 0.6075 GB Notification: Performance of SimCode: time 1.021e-06/0.7378, allocations: 0 / 0.7846 GB, free: 15 MB / 0.6075 GB Notification: Performance of Templates: time 0.01351/0.7513, allocations: 7.235 MB / 0.7917 GB, free: 7.898 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)