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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 181 kB / 15.98 MB, free: 5.789 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7261/0.7261, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 403.4 MB, free: 7.035 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 109.9 kB / 484.4 MB, free: 8.695 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009898/0.0009899, allocations: 55.91 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1331, allocations: 80.2 MB / 0.6402 GB, free: 6.789 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4768/0.6099, allocations: 177.2 MB / 0.8132 GB, free: 1.992 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.008521/0.6185, allocations: 7.863 MB / 0.8209 GB, free: 10.1 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005536/0.6191, allocations: 19.88 kB / 0.8209 GB, free: 10.08 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.000636/0.6198, allocations: 186.8 kB / 0.8211 GB, free: 9.898 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002813/0.6226, allocations: 1.144 MB / 0.8222 GB, free: 8.75 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.6245, allocations: 0.6604 MB / 0.8228 GB, free: 8.094 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001812/0.6263, allocations: 1.548 MB / 0.8243 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005074/0.6269, allocations: 354.3 kB / 0.8247 GB, free: 6.195 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002604/0.6295, allocations: 0.7596 MB / 0.8254 GB, free: 5.441 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006075/0.6301, allocations: 450.3 kB / 0.8258 GB, free: 5 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.403e-05/0.6302, allocations: 28 kB / 0.8259 GB, free: 4.973 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/0.6319, allocations: 1.091 MB / 0.8269 GB, free: 3.879 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.6321, allocations: 151.5 kB / 0.8271 GB, free: 3.73 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.000228/0.6323, allocations: 238.8 kB / 0.8273 GB, free: 3.496 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.6335, allocations: 0.9697 MB / 0.8283 GB, free: 2.527 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6335, allocations: 0 / 0.8283 GB, free: 2.527 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.72e-07/0.6335, allocations: 0 / 0.8283 GB, free: 2.527 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.6335, allocations: 4 kB / 0.8283 GB, free: 2.523 MB / 0.5573 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.001093/0.6346, allocations: 0.8103 MB / 0.829 GB, free: 1.664 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.6347, allocations: 11.97 kB / 0.8291 GB, free: 1.652 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008508/0.6355, allocations: 147.3 kB / 0.8292 GB, free: 1.508 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005128/0.636, allocations: 383.3 kB / 0.8296 GB, free: 1.094 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.6361, allocations: 29 kB / 0.8296 GB, free: 1.066 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.853e-05/0.6361, allocations: 36 kB / 0.8296 GB, free: 1.031 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006566/0.6368, allocations: 454.4 kB / 0.8301 GB, free: 0.5586 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.6368, allocations: 0 / 0.8301 GB, free: 0.5586 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/0.6369, allocations: 19.94 kB / 0.8301 GB, free: 0.5391 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.6369, allocations: 8 kB / 0.8301 GB, free: 0.5312 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005773/0.6375, allocations: 319.8 kB / 0.8304 GB, free: 224 kB / 0.5573 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.00198/0.6394, allocations: 2.015 MB / 0.8324 GB, free: 14.03 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.6398, allocations: 238.4 kB / 0.8326 GB, free: 13.79 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.6401, allocations: 152.8 kB / 0.8327 GB, free: 13.63 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005506/0.6406, allocations: 307.2 kB / 0.833 GB, free: 13.28 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.6407, allocations: 38.56 kB / 0.8331 GB, free: 13.23 MB / 0.573 GB Notification: Performance of pre-optimization done (n=24): time 1.413e-06/0.6407, allocations: 0 / 0.8331 GB, free: 13.23 MB / 0.573 GB Notification: Performance of matching and sorting (n=24): time 0.0009685/0.6417, allocations: 454.7 kB / 0.8335 GB, free: 12.78 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.6417, allocations: 59.2 kB / 0.8336 GB, free: 12.71 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000369/0.6421, allocations: 398 kB / 0.8339 GB, free: 12.31 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.6421, allocations: 29.7 kB / 0.834 GB, free: 12.28 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.6423, allocations: 236.2 kB / 0.8342 GB, free: 12.04 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 5.713e-05/0.6423, allocations: 74.83 kB / 0.8343 GB, free: 11.97 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-05/0.6424, allocations: 65.62 kB / 0.8343 GB, free: 11.9 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.6426, allocations: 354.7 kB / 0.8347 GB, free: 11.54 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.6428, allocations: 107.9 kB / 0.8348 GB, free: 11.44 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.6431, allocations: 182.8 kB / 0.8349 GB, free: 11.23 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004713/0.6436, allocations: 309 kB / 0.8352 GB, free: 10.91 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6436, allocations: 0 / 0.8352 GB, free: 10.91 MB / 0.573 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005927/0.6442, allocations: 364.3 kB / 0.8356 GB, free: 10.55 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.6442, allocations: 8.156 kB / 0.8356 GB, free: 10.54 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.6442, allocations: 8 kB / 0.8356 GB, free: 10.54 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.6442, allocations: 0 / 0.8356 GB, free: 10.54 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.6445, allocations: 59.91 kB / 0.8356 GB, free: 10.48 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.6445, allocations: 0 / 0.8356 GB, free: 10.48 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/0.6448, allocations: 55.5 kB / 0.8357 GB, free: 10.42 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.6448, allocations: 16 kB / 0.8357 GB, free: 10.41 MB / 0.573 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.000161/0.645, allocations: 175 kB / 0.8359 GB, free: 10.23 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.163e-05/0.6451, allocations: 39.53 kB / 0.8359 GB, free: 10.19 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006988/0.6458, allocations: 368.9 kB / 0.8363 GB, free: 9.824 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.6458, allocations: 4 kB / 0.8363 GB, free: 9.82 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6458, allocations: 3.938 kB / 0.8363 GB, free: 9.816 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.6458, allocations: 0 / 0.8363 GB, free: 9.816 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.6471, allocations: 0.9424 MB / 0.8372 GB, free: 8.797 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.6472, allocations: 4 kB / 0.8372 GB, free: 8.793 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/0.6474, allocations: 43.97 kB / 0.8372 GB, free: 8.75 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.6474, allocations: 3.938 kB / 0.8373 GB, free: 8.746 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.6474, allocations: 12 kB / 0.8373 GB, free: 8.734 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.6474, allocations: 3.938 kB / 0.8373 GB, free: 8.73 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.6475, allocations: 4 kB / 0.8373 GB, free: 8.727 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005042/0.6525, allocations: 2.551 MB / 0.8398 GB, free: 6.016 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.6527, allocations: 140.5 kB / 0.8399 GB, free: 5.859 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.422e-05/0.6527, allocations: 11.98 kB / 0.8399 GB, free: 5.848 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.653, allocations: 23.98 kB / 0.8399 GB, free: 5.824 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.212e-05/0.6531, allocations: 31.94 kB / 0.84 GB, free: 5.793 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.6531, allocations: 11.94 kB / 0.84 GB, free: 5.781 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000257/0.6533, allocations: 279.1 kB / 0.8402 GB, free: 5.508 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6533, allocations: 0 / 0.8402 GB, free: 5.508 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006434/0.654, allocations: 155.8 kB / 0.8404 GB, free: 5.355 MB / 0.573 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.0003871/0.6544, allocations: 166.2 kB / 0.8405 GB, free: 5.191 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0005648/0.655, allocations: 291.4 kB / 0.8408 GB, free: 4.906 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.655, allocations: 0 / 0.8408 GB, free: 4.906 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.6552, allocations: 154.9 kB / 0.841 GB, free: 4.758 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.6563, allocations: 217.2 kB / 0.8412 GB, free: 4.551 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.6577, allocations: 1.144 MB / 0.8423 GB, free: 3.344 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.6581, allocations: 0.8314 MB / 0.8431 GB, free: 2.484 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000285/0.6584, allocations: 99.41 kB / 0.8432 GB, free: 2.387 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.392e-05/0.6585, allocations: 39.42 kB / 0.8432 GB, free: 2.348 MB / 0.573 GB Notification: Performance of SimCode: time 2.7e-07/0.6585, allocations: 0 / 0.8432 GB, free: 2.348 MB / 0.573 GB Notification: Performance of Templates: time 0.01245/0.671, allocations: 7.451 MB / 0.8505 GB, free: 10.99 MB / 0.5886 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)