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.0008916/0.000892, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.001031/0.001031, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.188/1.188, allocations: 223.2 MB / 239.9 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8683/0.8683, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002945/0.0002947, allocations: 15.98 kB / 0.5068 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.148, allocations: 82.31 MB / 0.5872 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.3707/0.5188, allocations: 149.5 MB / 0.7332 GB, free: 2.133 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007691/0.5265, allocations: 6.534 MB / 0.7396 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004727/0.527, allocations: 16.16 kB / 0.7396 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007854/0.5278, allocations: 255.7 kB / 0.7399 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002039/0.5299, allocations: 0.8192 MB / 0.7407 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.5315, allocations: 0.5777 MB / 0.7412 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000738/0.5322, allocations: 0.6191 MB / 0.7418 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005088/0.5327, allocations: 333.2 kB / 0.7422 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001305/0.534, allocations: 0.6959 MB / 0.7428 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003754/0.5344, allocations: 322 kB / 0.7431 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.642e-05/0.5345, allocations: 23.62 kB / 0.7432 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008463/0.5353, allocations: 442.5 kB / 0.7436 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.5355, allocations: 131.6 kB / 0.7437 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.5356, allocations: 114.6 kB / 0.7438 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006223/0.5362, allocations: 0.5132 MB / 0.7443 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.5362, allocations: 3.938 kB / 0.7443 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5362, allocations: 8 kB / 0.7443 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.5362, allocations: 0 / 0.7443 GB, free: 11.08 MB / 0.5606 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.000913/0.5372, allocations: 0.7074 MB / 0.745 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.5372, allocations: 8.031 kB / 0.745 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000884/0.5381, allocations: 150.1 kB / 0.7452 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000476/0.5386, allocations: 374.3 kB / 0.7455 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.5386, allocations: 29 kB / 0.7456 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.571e-05/0.5387, allocations: 44 kB / 0.7456 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006337/0.5393, allocations: 445.7 kB / 0.746 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.5393, allocations: 0 / 0.746 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/0.5394, allocations: 23.94 kB / 0.7461 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.5394, allocations: 12 kB / 0.7461 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005524/0.54, allocations: 321.2 kB / 0.7464 GB, free: 9.133 MB / 0.5606 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.001919/0.5419, allocations: 2.021 MB / 0.7483 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003699/0.5423, allocations: 244.2 kB / 0.7486 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003767/0.5427, allocations: 139.7 kB / 0.7487 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.5427, allocations: 38.56 kB / 0.7487 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=24): time 1.243e-06/0.5427, allocations: 0 / 0.7487 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24): time 0.0008939/0.5436, allocations: 471.1 kB / 0.7492 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.5436, allocations: 55.34 kB / 0.7492 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/0.544, allocations: 398 kB / 0.7496 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.544, allocations: 25.7 kB / 0.7497 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.5442, allocations: 232.2 kB / 0.7499 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.741e-05/0.5442, allocations: 78.84 kB / 0.7499 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/0.5442, allocations: 4 kB / 0.75 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.5444, allocations: 354.8 kB / 0.7503 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.5446, allocations: 119.9 kB / 0.7504 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.5448, allocations: 196.2 kB / 0.7506 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.5451, allocations: 134.1 kB / 0.7507 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5451, allocations: 4 kB / 0.7507 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005607/0.5456, allocations: 368.8 kB / 0.7511 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.5457, allocations: 6.344 kB / 0.7511 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.5457, allocations: 8.219 kB / 0.7511 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.5457, allocations: 4 kB / 0.7511 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.546, allocations: 59.47 kB / 0.7511 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.546, allocations: 4 kB / 0.7512 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.5462, allocations: 59.56 kB / 0.7512 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.5463, allocations: 15.94 kB / 0.7512 GB, free: 4.203 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001569/0.5464, allocations: 169.7 kB / 0.7514 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.69e-05/0.5465, allocations: 39.53 kB / 0.7514 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000631/0.5471, allocations: 383.1 kB / 0.7518 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.5471, allocations: 0 / 0.7518 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.5472, allocations: 0 / 0.7518 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5472, allocations: 0 / 0.7518 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.5485, allocations: 0.9487 MB / 0.7527 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.5485, allocations: 0 / 0.7527 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/0.5487, allocations: 61 kB / 0.7528 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.5487, allocations: 4 kB / 0.7528 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.5487, allocations: 4 kB / 0.7528 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.5488, allocations: 7.953 kB / 0.7528 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5488, allocations: 7.875 kB / 0.7528 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000889/0.5497, allocations: 0.7155 MB / 0.7535 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.5498, allocations: 152.6 kB / 0.7536 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.048e-05/0.5499, allocations: 13.98 kB / 0.7537 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.5501, allocations: 23.98 kB / 0.7537 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.5502, allocations: 23.91 kB / 0.7537 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.5502, allocations: 12 kB / 0.7537 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002466/0.5505, allocations: 279.1 kB / 0.754 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.5505, allocations: 0 / 0.754 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004066/0.5509, allocations: 115.8 kB / 0.7541 GB, free: 1.086 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003202/0.5512, allocations: 171.8 kB / 0.7543 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005106/0.5517, allocations: 291.6 kB / 0.7545 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5518, allocations: 4 kB / 0.7545 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.552, allocations: 152.6 kB / 0.7547 GB, free: 496 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008967/0.5529, allocations: 216.7 kB / 0.7549 GB, free: 284 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.5541, allocations: 0.9543 MB / 0.7558 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.5545, allocations: 0.8353 MB / 0.7566 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002793/0.5548, allocations: 104.1 kB / 0.7567 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.998e-05/0.5548, allocations: 35.44 kB / 0.7568 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.5549, allocations: 0 / 0.7568 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of Templates: time 0.01061/0.5655, allocations: 6.969 MB / 0.7636 GB, free: 7.441 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: