Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00111/0.00111, allocations: 190.5 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.1 MB / 222.1 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4102/0.4102, allocations: 54.93 MB / 324.4 MB, free: 15.96 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 63.91 kB / 394.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1541, allocations: 59.59 MB / 454.4 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 1.022/1.176, allocations: 271.5 MB / 0.7089 GB, free: 16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02419/1.201, allocations: 17.47 MB / 0.726 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004217/1.205, allocations: 60.16 kB / 0.726 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004202/1.209, allocations: 1.083 MB / 0.7271 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01103/1.22, allocations: 3.002 MB / 0.73 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006871/1.227, allocations: 2.146 MB / 0.7321 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007894/1.235, allocations: 5.205 MB / 0.7372 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003403/1.238, allocations: 1.786 MB / 0.739 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006823/1.245, allocations: 2.424 MB / 0.7413 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004631/1.25, allocations: 1.749 MB / 0.743 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008841/1.251, allocations: 212 kB / 0.7432 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007294/1.258, allocations: 3.034 MB / 0.7462 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001625/1.26, allocations: 0.791 MB / 0.747 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.003706/1.263, allocations: 1.206 MB / 0.7482 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01098/1.275, allocations: 4.187 MB / 0.7522 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.313e-05/1.275, allocations: 4 kB / 0.7522 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.586e-06/1.275, allocations: 0 / 0.7522 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0002269/1.275, allocations: 0 / 0.7522 GB, free: 15.38 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.009457/1.284, allocations: 2.64 MB / 0.7548 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/1.284, allocations: 8.031 kB / 0.7548 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005622/1.29, allocations: 0.6459 MB / 0.7555 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003434/1.294, allocations: 1.364 MB / 0.7568 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001614/1.294, allocations: 110.8 kB / 0.7569 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005532/1.294, allocations: 152 kB / 0.757 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005655/1.3, allocations: 1.847 MB / 0.7588 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.801e-05/1.3, allocations: 6.531 kB / 0.7589 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000289/1.3, allocations: 67.94 kB / 0.7589 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.198e-05/1.3, allocations: 50.66 kB / 0.759 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004074/1.304, allocations: 1.519 MB / 0.7604 GB, free: 6.867 MB / 0.5137 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.01252/1.317, allocations: 7.592 MB / 0.7679 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/1.319, allocations: 0.8564 MB / 0.7687 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005613/1.32, allocations: 378.9 kB / 0.7691 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.893e-05/1.32, allocations: 10.59 kB / 0.7691 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/1.32, allocations: 47.12 kB / 0.7691 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001047/1.321, allocations: 141.8 kB / 0.7693 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=66): time 4.489e-06/1.321, allocations: 0 / 0.7693 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=66): time 0.003925/1.325, allocations: 1.327 MB / 0.7705 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/1.325, allocations: 85.67 kB / 0.7706 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002118/1.327, allocations: 1.444 MB / 0.772 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000206/1.327, allocations: 45.7 kB / 0.7721 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000671/1.328, allocations: 0.8179 MB / 0.7729 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002411/1.328, allocations: 239.8 kB / 0.7731 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003601/1.329, allocations: 229 kB / 0.7733 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.329, allocations: 349.9 kB / 0.7737 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009129/1.33, allocations: 457.8 kB / 0.7741 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/1.331, allocations: 0.7721 MB / 0.7749 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001941/1.333, allocations: 1.246 MB / 0.7761 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/1.333, allocations: 4.812 kB / 0.7761 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002784/1.336, allocations: 1.524 MB / 0.7776 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.844e-05/1.336, allocations: 118.8 kB / 0.7777 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/1.336, allocations: 11.94 kB / 0.7777 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.686e-05/1.336, allocations: 15.98 kB / 0.7777 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/1.337, allocations: 251.7 kB / 0.7779 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.413e-05/1.337, allocations: 14.44 kB / 0.778 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/1.339, allocations: 172.4 kB / 0.7781 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.682e-05/1.339, allocations: 47.98 kB / 0.7782 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001313/1.34, allocations: 0.7569 MB / 0.7789 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008633/1.341, allocations: 0.7128 MB / 0.7796 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001456/1.343, allocations: 1.153 MB / 0.7807 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.809e-06/1.343, allocations: 0 / 0.7807 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of matching and sorting (n=135) (initialization_lambda0): time 0.002361/1.345, allocations: 1.413 MB / 0.7821 GB, free: 15.74 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.329e-05/1.345, allocations: 119.5 kB / 0.7822 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/1.345, allocations: 11.98 kB / 0.7822 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/1.345, allocations: 16.69 kB / 0.7822 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008824/1.346, allocations: 226.9 kB / 0.7825 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/1.346, allocations: 21.06 kB / 0.7825 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/1.348, allocations: 137.6 kB / 0.7826 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.307e-05/1.348, allocations: 44 kB / 0.7827 GB, free: 15.17 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 4 (humBac.vol.i_w,humFor.vol.i_w,senMas2.i_x,senMas1.i_x) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 127 * Array equations: 2 * Algorithm blocks: 4 * 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.000429/1.348, allocations: 257.2 kB / 0.7829 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/1.349, allocations: 162 kB / 0.7831 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001999/1.351, allocations: 0.9473 MB / 0.784 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/1.351, allocations: 11.19 kB / 0.784 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/1.351, allocations: 0 / 0.784 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00154/1.352, allocations: 0.905 MB / 0.7849 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004017/1.356, allocations: 2.307 MB / 0.7871 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/1.356, allocations: 0 / 0.7871 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/1.357, allocations: 196.9 kB / 0.7873 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.809e-06/1.357, allocations: 4 kB / 0.7873 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.783e-05/1.357, allocations: 23.94 kB / 0.7873 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/1.357, allocations: 7.984 kB / 0.7874 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.357, allocations: 0.625 kB / 0.7874 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002905/1.36, allocations: 1.496 MB / 0.7888 GB, free: 8.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/1.361, allocations: 347.1 kB / 0.7891 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/1.362, allocations: 16 kB / 0.7892 GB, free: 8.375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/1.363, allocations: 120.5 kB / 0.7893 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/1.363, allocations: 48.44 kB / 0.7893 GB, free: 8.211 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/1.363, allocations: 39.95 kB / 0.7894 GB, free: 8.172 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001378/1.365, allocations: 0.9728 MB / 0.7903 GB, free: 7.203 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.2e-07/1.365, allocations: 0 / 0.7903 GB, free: 7.203 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002314/1.367, allocations: 0.9003 MB / 0.7912 GB, free: 6.301 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (humBac.vol.dynBal.U,humBac.vol.dynBal.m,humBac.vol.dynBal.mXi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m,humFor.vol.dynBal.mXi[1]) * 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 (70): * Single equations (assignments): 70 * 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.0007514/1.368, allocations: 271 kB / 0.7914 GB, free: 6.066 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003755/1.372, allocations: 2.14 MB / 0.7935 GB, free: 3.902 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/1.372, allocations: 4.562 kB / 0.7935 GB, free: 3.898 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007766/1.372, allocations: 402 kB / 0.7939 GB, free: 3.516 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004415/1.377, allocations: 0.9012 MB / 0.7948 GB, free: 2.699 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005793/1.383, allocations: 3.662 MB / 0.7984 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009029/1.384, allocations: 1.372 MB / 0.7997 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002041/1.386, allocations: 435.9 kB / 0.8001 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/1.386, allocations: 119.4 kB / 0.8003 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of SimCode: time 1.173e-06/1.386, allocations: 0 / 0.8003 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of Templates: time 0.05401/1.44, allocations: 32.8 MB / 0.8323 GB, free: 12.61 MB / 0.5919 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)