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.007928/0.007928, allocations: 98.14 kB / 15.73 MB, free: 6.039 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.001633/0.001633, allocations: 196.8 kB / 16.68 MB, free: 5.969 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7762/0.7762, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 67.88 kB / 0.5814 GB, free: 7.547 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4893/0.4905, allocations: 80.21 MB / 0.6597 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2143/0.7049, allocations: 179.4 MB / 0.8349 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009295/0.7142, allocations: 7.83 MB / 0.8425 GB, free: 10.34 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008713/0.7151, allocations: 19.88 kB / 0.8425 GB, free: 10.32 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0008438/0.716, allocations: 246.2 kB / 0.8428 GB, free: 10.08 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003217/0.7193, allocations: 1.272 MB / 0.844 GB, free: 8.801 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.7211, allocations: 0.7402 MB / 0.8447 GB, free: 8.062 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001221/0.7223, allocations: 1.076 MB / 0.8458 GB, free: 6.984 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005861/0.7229, allocations: 415.3 kB / 0.8462 GB, free: 6.574 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002321/0.7252, allocations: 0.859 MB / 0.847 GB, free: 5.727 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005925/0.7258, allocations: 434.4 kB / 0.8474 GB, free: 5.301 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.508e-05/0.7259, allocations: 40 kB / 0.8475 GB, free: 5.262 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001715/0.7276, allocations: 0.9549 MB / 0.8484 GB, free: 4.305 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.7278, allocations: 155.5 kB / 0.8486 GB, free: 4.152 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002507/0.7281, allocations: 250.7 kB / 0.8488 GB, free: 3.906 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.7294, allocations: 0.9427 MB / 0.8497 GB, free: 2.961 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.7294, allocations: 0 / 0.8497 GB, free: 2.961 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7294, allocations: 3.938 kB / 0.8497 GB, free: 2.957 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.7294, allocations: 0 / 0.8497 GB, free: 2.957 MB / 0.67 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.001157/0.7306, allocations: 0.7987 MB / 0.8505 GB, free: 2.109 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/0.7307, allocations: 8.031 kB / 0.8505 GB, free: 2.102 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009283/0.7316, allocations: 159.2 kB / 0.8507 GB, free: 1.945 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005715/0.7322, allocations: 403.3 kB / 0.851 GB, free: 1.516 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.7322, allocations: 25 kB / 0.8511 GB, free: 1.492 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.689e-05/0.7323, allocations: 47.89 kB / 0.8511 GB, free: 1.445 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00075/0.7331, allocations: 458.3 kB / 0.8516 GB, free: 0.9727 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.7331, allocations: 0 / 0.8516 GB, free: 0.9727 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.421e-05/0.7331, allocations: 16 kB / 0.8516 GB, free: 0.957 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.7331, allocations: 12 kB / 0.8516 GB, free: 0.9453 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005988/0.7338, allocations: 311.8 kB / 0.8519 GB, free: 0.6406 MB / 0.67 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.002148/0.7359, allocations: 2.012 MB / 0.8538 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004092/0.7363, allocations: 242.4 kB / 0.8541 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/0.7366, allocations: 148.8 kB / 0.8542 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000583/0.7372, allocations: 307.2 kB / 0.8545 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.7372, allocations: 34.56 kB / 0.8545 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=24): time 1.724e-06/0.7372, allocations: 4 kB / 0.8545 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24): time 0.001031/0.7383, allocations: 447.9 kB / 0.855 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.7383, allocations: 55.41 kB / 0.855 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004206/0.7388, allocations: 401.9 kB / 0.8554 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.7388, allocations: 33.64 kB / 0.8554 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.739, allocations: 232.2 kB / 0.8557 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.631e-05/0.739, allocations: 82.89 kB / 0.8557 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.7391, allocations: 57.61 kB / 0.8558 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.7393, allocations: 358.7 kB / 0.8561 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/0.7395, allocations: 111.9 kB / 0.8562 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.7398, allocations: 180.1 kB / 0.8564 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00052/0.7404, allocations: 309.7 kB / 0.8567 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.7404, allocations: 0 / 0.8567 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006398/0.741, allocations: 360.8 kB / 0.8571 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.7411, allocations: 12.22 kB / 0.8571 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.7411, allocations: 0 / 0.8571 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.7411, allocations: 7.938 kB / 0.8571 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.7414, allocations: 51.97 kB / 0.8571 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.7414, allocations: 7.938 kB / 0.8571 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.7417, allocations: 47.45 kB / 0.8572 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.7417, allocations: 16 kB / 0.8572 GB, free: 10.84 MB / 0.6856 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.0001853/0.7419, allocations: 166.4 kB / 0.8574 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.378e-05/0.742, allocations: 39.53 kB / 0.8574 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000769/0.7427, allocations: 368.5 kB / 0.8577 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.7428, allocations: 4 kB / 0.8577 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.7428, allocations: 0 / 0.8577 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.7428, allocations: 3.938 kB / 0.8578 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.7442, allocations: 0.9428 MB / 0.8587 GB, free: 9.242 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.7442, allocations: 4 kB / 0.8587 GB, free: 9.238 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.7445, allocations: 47.97 kB / 0.8587 GB, free: 9.191 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.7445, allocations: 4.219 kB / 0.8587 GB, free: 9.188 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.7445, allocations: 8 kB / 0.8587 GB, free: 9.18 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.7445, allocations: 7.938 kB / 0.8587 GB, free: 9.172 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.7445, allocations: 4 kB / 0.8587 GB, free: 9.168 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009577/0.7455, allocations: 0.6256 MB / 0.8594 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.7457, allocations: 148.5 kB / 0.8595 GB, free: 8.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.564e-05/0.7457, allocations: 4 kB / 0.8595 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.7459, allocations: 11.98 kB / 0.8595 GB, free: 8.324 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.124e-05/0.746, allocations: 27.97 kB / 0.8595 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.7461, allocations: 15.94 kB / 0.8596 GB, free: 8.281 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002967/0.7464, allocations: 279.1 kB / 0.8598 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7464, allocations: 0 / 0.8598 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004996/0.7469, allocations: 107.8 kB / 0.8599 GB, free: 7.91 MB / 0.6856 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.0004349/0.7473, allocations: 183.5 kB / 0.8601 GB, free: 7.727 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006126/0.7479, allocations: 283.6 kB / 0.8604 GB, free: 7.449 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.748, allocations: 4 kB / 0.8604 GB, free: 7.445 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000268/0.7482, allocations: 154.5 kB / 0.8605 GB, free: 7.297 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.7493, allocations: 204.4 kB / 0.8607 GB, free: 7.105 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.7507, allocations: 0.8041 MB / 0.8615 GB, free: 6.254 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/0.7512, allocations: 0.8311 MB / 0.8623 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003352/0.7515, allocations: 99.39 kB / 0.8624 GB, free: 5.293 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.7517, allocations: 35.44 kB / 0.8624 GB, free: 5.258 MB / 0.6856 GB Notification: Performance of SimCode: time 2.3e-07/0.7517, allocations: 0 / 0.8624 GB, free: 5.258 MB / 0.6856 GB Notification: Performance of Templates: time 0.3649/1.117, allocations: 7.653 MB / 0.8699 GB, free: 194.6 MB / 0.6856 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)