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.001003/0.001003, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.00112/0.00112, allocations: 172.7 kB / 15.95 MB, free: 208 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.285/1.285, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7391/0.7391, allocations: 132.3 MB / 423.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002962/0.0002963, allocations: 19.98 kB / 0.5034 GB, free: 4.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3479, allocations: 81.58 MB / 0.5831 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.163/0.511, allocations: 163.1 MB / 0.7424 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007795/0.5188, allocations: 7.283 MB / 0.7495 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004081/0.5193, allocations: 19.94 kB / 0.7495 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005472/0.5198, allocations: 170.8 kB / 0.7497 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002038/0.5219, allocations: 0.8864 MB / 0.7505 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.5232, allocations: 0.5364 MB / 0.751 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001176/0.5244, allocations: 1.302 MB / 0.7523 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004433/0.5249, allocations: 316.1 kB / 0.7526 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.5262, allocations: 0.681 MB / 0.7533 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005275/0.5267, allocations: 426.5 kB / 0.7537 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.64e-05/0.5268, allocations: 20 kB / 0.7537 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.5279, allocations: 0.5262 MB / 0.7542 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.528, allocations: 139.6 kB / 0.7544 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.736e-05/0.5281, allocations: 113.5 kB / 0.7545 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006173/0.5288, allocations: 0.5807 MB / 0.755 GB, free: 8 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.5288, allocations: 4 kB / 0.755 GB, free: 4 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5288, allocations: 0 / 0.755 GB, free: 4 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.5288, allocations: 0 / 0.755 GB, free: 4 kB / 0.5762 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.0009511/0.5297, allocations: 0.7248 MB / 0.7557 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.5298, allocations: 12.03 kB / 0.7558 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008837/0.5307, allocations: 147.3 kB / 0.7559 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004903/0.5312, allocations: 375.6 kB / 0.7563 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.5312, allocations: 29 kB / 0.7563 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-05/0.5313, allocations: 40 kB / 0.7563 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007064/0.532, allocations: 454.4 kB / 0.7568 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.532, allocations: 0 / 0.7568 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.263e-05/0.5321, allocations: 16 kB / 0.7568 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.5321, allocations: 8 kB / 0.7568 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005825/0.5327, allocations: 331.7 kB / 0.7571 GB, free: 13.79 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.001873/0.5345, allocations: 2.031 MB / 0.7591 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/0.535, allocations: 238.5 kB / 0.7593 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/0.5352, allocations: 160.8 kB / 0.7595 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005714/0.5358, allocations: 319.2 kB / 0.7598 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.5358, allocations: 34.56 kB / 0.7598 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.453e-06/0.5358, allocations: 0 / 0.7598 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.0009671/0.5368, allocations: 477 kB / 0.7603 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.5369, allocations: 55.36 kB / 0.7603 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003689/0.5372, allocations: 398 kB / 0.7607 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.5373, allocations: 29.7 kB / 0.7607 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.5374, allocations: 232.2 kB / 0.7609 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.439e-05/0.5375, allocations: 82.83 kB / 0.761 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.431e-05/0.5375, allocations: 4 kB / 0.761 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.5376, allocations: 350.8 kB / 0.7614 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.5379, allocations: 115.9 kB / 0.7615 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.5381, allocations: 186.8 kB / 0.7616 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.5384, allocations: 143.1 kB / 0.7618 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5384, allocations: 0 / 0.7618 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005985/0.539, allocations: 368.8 kB / 0.7621 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.539, allocations: 4 kB / 0.7621 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.539, allocations: 4 kB / 0.7621 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.5391, allocations: 7.984 kB / 0.7621 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/0.5393, allocations: 55.95 kB / 0.7622 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.5393, allocations: 15.88 kB / 0.7622 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.5396, allocations: 63.53 kB / 0.7623 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.5396, allocations: 12 kB / 0.7623 GB, free: 8.152 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001647/0.5398, allocations: 167.3 kB / 0.7624 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.107e-05/0.5399, allocations: 39.53 kB / 0.7625 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006819/0.5406, allocations: 380.9 kB / 0.7628 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.5406, allocations: 0 / 0.7628 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.5406, allocations: 0 / 0.7628 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.5406, allocations: 7.953 kB / 0.7629 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.5419, allocations: 0.9526 MB / 0.7638 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.5419, allocations: 0 / 0.7638 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.5422, allocations: 55.92 kB / 0.7638 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.5422, allocations: 4 kB / 0.7638 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.5422, allocations: 8 kB / 0.7638 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.5422, allocations: 7.938 kB / 0.7639 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.5422, allocations: 0 / 0.7639 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008708/0.5431, allocations: 0.6434 MB / 0.7645 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.5433, allocations: 156.5 kB / 0.7646 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.631e-05/0.5433, allocations: 8 kB / 0.7646 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/0.5436, allocations: 24.05 kB / 0.7647 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.5436, allocations: 19.97 kB / 0.7647 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.5437, allocations: 8 kB / 0.7647 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002708/0.5439, allocations: 279.1 kB / 0.765 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5439, allocations: 4 kB / 0.765 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004221/0.5444, allocations: 111.8 kB / 0.7651 GB, free: 5.16 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 (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.0003317/0.5447, allocations: 165.6 kB / 0.7652 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005557/0.5453, allocations: 291.7 kB / 0.7655 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5453, allocations: 0 / 0.7655 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002657/0.5456, allocations: 160.6 kB / 0.7657 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009995/0.5466, allocations: 212.8 kB / 0.7659 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.5478, allocations: 0.9561 MB / 0.7668 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.5481, allocations: 0.8236 MB / 0.7676 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003044/0.5484, allocations: 99.41 kB / 0.7677 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.337e-05/0.5485, allocations: 43.42 kB / 0.7677 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.5485, allocations: 0 / 0.7677 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of Templates: time 0.01146/0.56, allocations: 6.971 MB / 0.7745 GB, free: 11.5 MB / 0.6075 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)