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.001203/0.001204, allocations: 108.1 kB / 16.41 MB, free: 6.5 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.001188/0.001188, allocations: 187 kB / 17.34 MB, free: 5.742 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8157/0.8157, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 68.28 kB / 0.582 GB, free: 23.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1753, allocations: 80.21 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5931/0.7685, allocations: 179.4 MB / 0.8355 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009264/0.7778, allocations: 7.827 MB / 0.8432 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006712/0.7785, allocations: 20.09 kB / 0.8432 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008257/0.7794, allocations: 245.9 kB / 0.8434 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003444/0.7829, allocations: 1.218 MB / 0.8446 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002062/0.785, allocations: 0.7371 MB / 0.8453 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001469/0.7864, allocations: 1.071 MB / 0.8464 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007663/0.7872, allocations: 400.9 kB / 0.8468 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002761/0.79, allocations: 0.846 MB / 0.8476 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009165/0.7909, allocations: 436.2 kB / 0.848 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.791, allocations: 38.09 kB / 0.8481 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.793, allocations: 0.9551 MB / 0.849 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000224/0.7932, allocations: 155.7 kB / 0.8491 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003988/0.7936, allocations: 250.4 kB / 0.8494 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001997/0.7956, allocations: 0.9384 MB / 0.8503 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.7957, allocations: 0 / 0.8503 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.874e-06/0.7957, allocations: 4 kB / 0.8503 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.559e-05/0.7957, allocations: 0 / 0.8503 GB, free: 0.9453 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.001484/0.7972, allocations: 0.7982 MB / 0.8511 GB, free: 276 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.7972, allocations: 10.12 kB / 0.8511 GB, free: 276 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.7983, allocations: 157.3 kB / 0.8512 GB, free: 204 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006799/0.799, allocations: 401.5 kB / 0.8516 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.799, allocations: 28.66 kB / 0.8516 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.497e-05/0.7991, allocations: 37.06 kB / 0.8517 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007579/0.7999, allocations: 455.9 kB / 0.8521 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.7999, allocations: 6.031 kB / 0.8521 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.395e-05/0.7999, allocations: 10.94 kB / 0.8521 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.7999, allocations: 9.719 kB / 0.8521 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005989/0.8005, allocations: 320.9 kB / 0.8524 GB, free: 15.36 MB / 0.6231 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.002357/0.8029, allocations: 2.012 MB / 0.8544 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/0.8033, allocations: 240.8 kB / 0.8546 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.8036, allocations: 147.8 kB / 0.8548 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000563/0.8041, allocations: 308.5 kB / 0.8551 GB, free: 13 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.8042, allocations: 32.75 kB / 0.8551 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=24): time 1.964e-06/0.8042, allocations: 0 / 0.8551 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24): time 0.0009811/0.8052, allocations: 450.6 kB / 0.8555 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.8052, allocations: 53.66 kB / 0.8556 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003943/0.8056, allocations: 401.5 kB / 0.856 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.8057, allocations: 32.58 kB / 0.856 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.8058, allocations: 230.4 kB / 0.8562 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.639e-05/0.8059, allocations: 81.08 kB / 0.8563 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.806, allocations: 62.69 kB / 0.8564 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.8062, allocations: 354.3 kB / 0.8567 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.8064, allocations: 110.1 kB / 0.8568 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/0.8067, allocations: 184.3 kB / 0.857 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004825/0.8072, allocations: 308.8 kB / 0.8573 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.8072, allocations: 0 / 0.8573 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006378/0.8079, allocations: 372.7 kB / 0.8576 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.8079, allocations: 13.62 kB / 0.8576 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.8079, allocations: 0 / 0.8576 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.8079, allocations: 2.719 kB / 0.8576 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.8082, allocations: 62.19 kB / 0.8577 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.8082, allocations: 4.719 kB / 0.8577 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002739/0.8085, allocations: 43.95 kB / 0.8577 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.8086, allocations: 15.94 kB / 0.8578 GB, free: 11.09 MB / 0.6231 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.0001886/0.8088, allocations: 168.8 kB / 0.8579 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-05/0.8088, allocations: 44.16 kB / 0.858 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006792/0.8095, allocations: 366.9 kB / 0.8583 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.8095, allocations: 3.312 kB / 0.8583 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.8095, allocations: 0 / 0.8583 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.8096, allocations: 3.938 kB / 0.8583 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/0.8109, allocations: 0.9369 MB / 0.8592 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.811, allocations: 4 kB / 0.8592 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.8112, allocations: 51.84 kB / 0.8593 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.8112, allocations: 4 kB / 0.8593 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.8113, allocations: 8 kB / 0.8593 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.8113, allocations: 4 kB / 0.8593 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.8113, allocations: 0 / 0.8593 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009047/0.8122, allocations: 0.6256 MB / 0.8599 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.8124, allocations: 148.6 kB / 0.8601 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.453e-05/0.8124, allocations: 8 kB / 0.8601 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.8126, allocations: 11.98 kB / 0.8601 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.868e-05/0.8127, allocations: 27.92 kB / 0.8601 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.8128, allocations: 11.98 kB / 0.8601 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002782/0.813, allocations: 279.1 kB / 0.8604 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.813, allocations: 0 / 0.8604 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004757/0.8135, allocations: 115.8 kB / 0.8605 GB, free: 8.402 MB / 0.6231 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.0004418/0.814, allocations: 176.2 kB / 0.8607 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005704/0.8146, allocations: 292 kB / 0.8609 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8146, allocations: 3.938 kB / 0.8609 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002675/0.8148, allocations: 147.8 kB / 0.8611 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.8159, allocations: 219.8 kB / 0.8613 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.8172, allocations: 0.8522 MB / 0.8621 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.8176, allocations: 0.8233 MB / 0.8629 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.8177, allocations: 39.42 kB / 0.863 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of SimCode: time 3.4e-07/0.8178, allocations: 0 / 0.863 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of Templates: time 0.01126/0.829, allocations: 6.892 MB / 0.8697 GB, free: 14.97 MB / 0.6387 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)