Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001089/0.001089, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.00119, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.348/1.348, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7603/0.7603, allocations: 132.2 MB / 422.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 69.23 kB / 0.5018 GB, free: 3.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4034, allocations: 80.19 MB / 0.5801 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2029/0.6063, allocations: 179.4 MB / 0.7553 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009302/0.6156, allocations: 7.826 MB / 0.7629 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000567/0.6162, allocations: 19.94 kB / 0.7629 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006754/0.617, allocations: 246.2 kB / 0.7632 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003359/0.6203, allocations: 1.225 MB / 0.7644 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.6222, allocations: 0.7234 MB / 0.7651 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001315/0.6235, allocations: 1.076 MB / 0.7661 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005463/0.6241, allocations: 409.3 kB / 0.7665 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002239/0.6263, allocations: 0.8317 MB / 0.7673 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005994/0.627, allocations: 430.5 kB / 0.7677 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.988e-05/0.627, allocations: 36 kB / 0.7678 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001922/0.629, allocations: 0.9471 MB / 0.7687 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.6291, allocations: 159.5 kB / 0.7689 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003065/0.6294, allocations: 250.8 kB / 0.7691 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.6309, allocations: 0.931 MB / 0.77 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.6309, allocations: 0 / 0.77 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6309, allocations: 3.938 kB / 0.77 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.6309, allocations: 0 / 0.77 GB, free: 14.39 MB / 0.6075 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.001274/0.6322, allocations: 0.8026 MB / 0.7708 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.6322, allocations: 8.031 kB / 0.7708 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00096/0.6332, allocations: 151.3 kB / 0.7709 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005677/0.6338, allocations: 391.2 kB / 0.7713 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.6338, allocations: 33 kB / 0.7713 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.718e-05/0.6339, allocations: 36 kB / 0.7714 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007057/0.6346, allocations: 450.3 kB / 0.7718 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.6346, allocations: 0 / 0.7718 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.513e-05/0.6347, allocations: 16 kB / 0.7718 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.6347, allocations: 12 kB / 0.7718 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005977/0.6353, allocations: 315.8 kB / 0.7721 GB, free: 12.09 MB / 0.6075 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.00247/0.6378, allocations: 2.027 MB / 0.7741 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004319/0.6382, allocations: 238.4 kB / 0.7743 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/0.6385, allocations: 152.8 kB / 0.7745 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000729/0.6392, allocations: 299.2 kB / 0.7748 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.6393, allocations: 34.56 kB / 0.7748 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.383e-06/0.6393, allocations: 0 / 0.7748 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.001034/0.6403, allocations: 453.2 kB / 0.7752 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.6404, allocations: 63.2 kB / 0.7753 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004328/0.6408, allocations: 398 kB / 0.7757 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.6408, allocations: 29.7 kB / 0.7757 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.641, allocations: 232.2 kB / 0.7759 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.691e-05/0.6411, allocations: 90.8 kB / 0.776 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.6412, allocations: 53.7 kB / 0.7761 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.6413, allocations: 350.7 kB / 0.7764 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.6415, allocations: 111.9 kB / 0.7765 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.6418, allocations: 188.1 kB / 0.7767 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004732/0.6423, allocations: 305.9 kB / 0.777 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6423, allocations: 0 / 0.777 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006473/0.643, allocations: 360.8 kB / 0.7773 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.643, allocations: 8.203 kB / 0.7773 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.643, allocations: 8 kB / 0.7773 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.643, allocations: 4 kB / 0.7773 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/0.6433, allocations: 63.84 kB / 0.7774 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.6433, allocations: 7.938 kB / 0.7774 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/0.6436, allocations: 43.52 kB / 0.7775 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/0.6436, allocations: 11.94 kB / 0.7775 GB, free: 6.277 MB / 0.6075 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.0001811/0.6438, allocations: 167.3 kB / 0.7776 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-05/0.6439, allocations: 43.53 kB / 0.7777 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006819/0.6446, allocations: 372.4 kB / 0.778 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.6446, allocations: 0 / 0.778 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.6446, allocations: 0 / 0.778 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.6446, allocations: 3.984 kB / 0.778 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.646, allocations: 0.937 MB / 0.7789 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.646, allocations: 3.938 kB / 0.7789 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.6462, allocations: 40.2 kB / 0.779 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.6463, allocations: 8 kB / 0.779 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.6463, allocations: 15.92 kB / 0.779 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.6463, allocations: 4 kB / 0.779 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6463, allocations: 0 / 0.779 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009631/0.6473, allocations: 0.6255 MB / 0.7796 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.6474, allocations: 148.6 kB / 0.7798 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.489e-05/0.6475, allocations: 12 kB / 0.7798 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.6477, allocations: 16.05 kB / 0.7798 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/0.6478, allocations: 19.98 kB / 0.7798 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.6478, allocations: 8 kB / 0.7798 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002675/0.6481, allocations: 287.1 kB / 0.7801 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6481, allocations: 4 kB / 0.7801 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004325/0.6485, allocations: 103.8 kB / 0.7802 GB, free: 3.34 MB / 0.6075 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.0004061/0.6489, allocations: 174.1 kB / 0.7804 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005989/0.6495, allocations: 303.4 kB / 0.7806 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6496, allocations: 0 / 0.7806 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002591/0.6498, allocations: 152.5 kB / 0.7808 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.6509, allocations: 225.8 kB / 0.781 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.6522, allocations: 0.8187 MB / 0.7818 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.6527, allocations: 0.8272 MB / 0.7826 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003049/0.653, allocations: 99.41 kB / 0.7827 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.548e-05/0.6531, allocations: 39.42 kB / 0.7827 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.6531, allocations: 0 / 0.7827 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of Templates: time 0.01578/0.6689, allocations: 7.6 MB / 0.7902 GB, free: 9.184 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)