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.001418/0.001418, allocations: 104 kB / 16.41 MB, free: 6.508 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.001161/0.001161, allocations: 189.7 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.311/1.311, 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-master/package.mo): time 0.7958/0.7958, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 62.78 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1632, allocations: 80.92 MB / 0.6653 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5349/0.6982, allocations: 179.4 MB / 0.8405 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009836/0.708, allocations: 7.836 MB / 0.8482 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007681/0.7089, allocations: 24.81 kB / 0.8482 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008472/0.7097, allocations: 241.9 kB / 0.8484 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0037/0.7135, allocations: 1.221 MB / 0.8496 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002196/0.7157, allocations: 0.7326 MB / 0.8503 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001617/0.7173, allocations: 1.072 MB / 0.8514 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007962/0.7181, allocations: 409.2 kB / 0.8518 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002722/0.7209, allocations: 0.8376 MB / 0.8526 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008264/0.7217, allocations: 430 kB / 0.853 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.7218, allocations: 37.25 kB / 0.853 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001865/0.7237, allocations: 0.9564 MB / 0.8539 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002084/0.7239, allocations: 151.6 kB / 0.8541 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003875/0.7243, allocations: 250.6 kB / 0.8543 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001805/0.7261, allocations: 0.9388 MB / 0.8552 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.7261, allocations: 4 kB / 0.8553 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7261, allocations: 0 / 0.8553 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.664e-05/0.7262, allocations: 2.25 kB / 0.8553 GB, free: 11.23 MB / 0.6231 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.001344/0.7275, allocations: 0.8008 MB / 0.856 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.7276, allocations: 14.98 kB / 0.8561 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.7286, allocations: 145.1 kB / 0.8562 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000675/0.7293, allocations: 406.3 kB / 0.8566 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.7293, allocations: 28.78 kB / 0.8566 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.034e-05/0.7294, allocations: 49.06 kB / 0.8567 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007837/0.7302, allocations: 442.8 kB / 0.8571 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.7302, allocations: 11.86 kB / 0.8571 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.655e-05/0.7303, allocations: 14.19 kB / 0.8571 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.7303, allocations: 18.42 kB / 0.8571 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006291/0.7309, allocations: 312.1 kB / 0.8574 GB, free: 9.637 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.00233/0.7333, allocations: 2.007 MB / 0.8594 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.7337, allocations: 240.8 kB / 0.8596 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002568/0.734, allocations: 149.3 kB / 0.8597 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006127/0.7346, allocations: 308.7 kB / 0.86 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.7346, allocations: 37.12 kB / 0.8601 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=24): time 1.703e-06/0.7346, allocations: 0 / 0.8601 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24): time 0.001081/0.7357, allocations: 453.6 kB / 0.8605 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.7358, allocations: 55.41 kB / 0.8606 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004134/0.7362, allocations: 394 kB / 0.8609 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.7362, allocations: 33.7 kB / 0.861 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.7364, allocations: 228.2 kB / 0.8612 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.526e-05/0.7365, allocations: 86.83 kB / 0.8613 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.7366, allocations: 57.61 kB / 0.8613 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.7367, allocations: 354.7 kB / 0.8617 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.737, allocations: 123.8 kB / 0.8618 GB, free: 5.633 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.7373, allocations: 182.8 kB / 0.862 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005152/0.7378, allocations: 310.1 kB / 0.8622 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.7378, allocations: 4.688 kB / 0.8623 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006748/0.7385, allocations: 360.8 kB / 0.8626 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.7385, allocations: 9.406 kB / 0.8626 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.7386, allocations: 0 / 0.8626 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.7386, allocations: 4 kB / 0.8626 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.7389, allocations: 60.12 kB / 0.8627 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.7389, allocations: 4 kB / 0.8627 GB, free: 4.668 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/0.7392, allocations: 47.55 kB / 0.8627 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/0.7392, allocations: 19.94 kB / 0.8627 GB, free: 4.602 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.0001881/0.7394, allocations: 161.8 kB / 0.8629 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.72e-05/0.7395, allocations: 47.36 kB / 0.8629 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007184/0.7402, allocations: 364.3 kB / 0.8633 GB, free: 4.031 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.7402, allocations: 4 kB / 0.8633 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.7402, allocations: 0 / 0.8633 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.7403, allocations: 3.984 kB / 0.8633 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/0.7417, allocations: 0.9331 MB / 0.8642 GB, free: 3.012 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.7418, allocations: 4 kB / 0.8642 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.742, allocations: 55.84 kB / 0.8643 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-06/0.7421, allocations: 0 / 0.8643 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.7421, allocations: 4 kB / 0.8643 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.7421, allocations: 4 kB / 0.8643 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.7421, allocations: 8.156 kB / 0.8643 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009443/0.743, allocations: 0.6373 MB / 0.8649 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.7432, allocations: 144.5 kB / 0.865 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.42e-05/0.7433, allocations: 4 kB / 0.865 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.7435, allocations: 15.92 kB / 0.8651 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.099e-05/0.7436, allocations: 15.98 kB / 0.8651 GB, free: 2.066 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.7436, allocations: 16.05 kB / 0.8651 GB, free: 2.051 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002805/0.7439, allocations: 283.1 kB / 0.8654 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7439, allocations: 0 / 0.8654 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004982/0.7444, allocations: 115.7 kB / 0.8655 GB, free: 1.664 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.0004316/0.7449, allocations: 183.8 kB / 0.8656 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006203/0.7455, allocations: 287.7 kB / 0.8659 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.7455, allocations: 0 / 0.8659 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002844/0.7458, allocations: 147.7 kB / 0.8661 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.7469, allocations: 224.2 kB / 0.8663 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.7483, allocations: 0.8483 MB / 0.8671 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.7487, allocations: 0.8194 MB / 0.8679 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.7488, allocations: 47.36 kB / 0.8679 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of SimCode: time 4.51e-07/0.7489, allocations: 0 / 0.8679 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of Templates: time 0.01109/0.76, allocations: 6.83 MB / 0.8746 GB, free: 8.293 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (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)