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.0009379/0.0009379, allocations: 90.44 kB / 15.36 MB, free: 0.7383 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.005697/0.005697, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.482/1.482, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.412/0.412, allocations: 55 MB / 325.7 MB, free: 0.5938 MB / 254.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.000567/0.000567, allocations: 12 kB / 397.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4289, allocations: 60.71 MB / 458 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.7488/1.178, allocations: 269 MB / 0.7099 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02936/1.207, allocations: 17.54 MB / 0.727 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004289/1.212, allocations: 54 kB / 0.7271 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00492/1.216, allocations: 1.036 MB / 0.7281 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01696/1.233, allocations: 3.014 MB / 0.7311 GB, free: 388 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01074/1.244, allocations: 2.116 MB / 0.7331 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01551/1.26, allocations: 7.211 MB / 0.7402 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00438/1.264, allocations: 1.485 MB / 0.7416 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007618/1.272, allocations: 2.054 MB / 0.7436 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006195/1.278, allocations: 1.622 MB / 0.7452 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001109/1.279, allocations: 80.28 kB / 0.7453 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009991/1.289, allocations: 3.232 MB / 0.7484 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002362/1.292, allocations: 0.6545 MB / 0.7491 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.005214/1.297, allocations: 1.062 MB / 0.7501 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01344/1.31, allocations: 4.028 MB / 0.754 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.238e-06/1.31, allocations: 0 / 0.754 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.268e-06/1.311, allocations: 0 / 0.754 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001821/1.311, allocations: 0 / 0.754 GB, free: 7.148 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.007439/1.318, allocations: 2.205 MB / 0.7562 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/1.318, allocations: 8.031 kB / 0.7562 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005102/1.323, allocations: 0.6486 MB / 0.7568 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003754/1.327, allocations: 1.364 MB / 0.7582 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001594/1.327, allocations: 110.8 kB / 0.7583 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005852/1.328, allocations: 152 kB / 0.7584 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005966/1.334, allocations: 1.877 MB / 0.7603 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.178e-05/1.334, allocations: 4 kB / 0.7603 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003305/1.334, allocations: 60 kB / 0.7603 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.675e-05/1.334, allocations: 46.67 kB / 0.7604 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004156/1.339, allocations: 1.547 MB / 0.7619 GB, free: 15.03 MB / 0.5294 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.01213/1.351, allocations: 7.607 MB / 0.7693 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/1.353, allocations: 0.8922 MB / 0.7702 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007043/1.354, allocations: 372.9 kB / 0.7705 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.536e-05/1.354, allocations: 10.67 kB / 0.7705 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.118e-05/1.354, allocations: 47.12 kB / 0.7706 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001492/1.356, allocations: 158.1 kB / 0.7707 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=66): time 9.438e-06/1.356, allocations: 0 / 0.7707 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of matching and sorting (n=66): time 0.004413/1.36, allocations: 1.366 MB / 0.7721 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.548e-05/1.36, allocations: 85.67 kB / 0.7721 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002983/1.363, allocations: 1.448 MB / 0.7736 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002403/1.364, allocations: 45.7 kB / 0.7736 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009747/1.365, allocations: 0.8161 MB / 0.7744 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000329/1.365, allocations: 243.2 kB / 0.7746 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/1.365, allocations: 97.66 kB / 0.7747 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001757/1.365, allocations: 349.9 kB / 0.7751 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/1.366, allocations: 462.3 kB / 0.7755 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/1.368, allocations: 0.7839 MB / 0.7763 GB, free: 15.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002349/1.37, allocations: 1.264 MB / 0.7775 GB, free: 14.28 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.581e-05/1.37, allocations: 4 kB / 0.7775 GB, free: 14.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003576/1.374, allocations: 1.536 MB / 0.779 GB, free: 12.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003266/1.374, allocations: 432.9 kB / 0.7794 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/1.374, allocations: 8 kB / 0.7794 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.317e-05/1.374, allocations: 12 kB / 0.7794 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/1.375, allocations: 251 kB / 0.7797 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.917e-05/1.375, allocations: 25.19 kB / 0.7797 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002287/1.378, allocations: 171.5 kB / 0.7799 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/1.378, allocations: 50.8 kB / 0.7799 GB, free: 11.72 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/1.378, allocations: 4 kB / 0.7799 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002191/1.38, allocations: 1.266 MB / 0.7812 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.356e-05/1.38, allocations: 8.625 kB / 0.7812 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/1.38, allocations: 14.53 kB / 0.7812 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008983/1.381, allocations: 224.6 kB / 0.7814 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.154e-05/1.381, allocations: 21.06 kB / 0.7814 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/1.383, allocations: 136.2 kB / 0.7815 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/1.383, allocations: 47.98 kB / 0.7816 GB, free: 10.04 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.001064/1.384, allocations: 0.5181 MB / 0.7821 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005351/1.385, allocations: 154.1 kB / 0.7822 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/1.387, allocations: 0.9655 MB / 0.7832 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/1.387, allocations: 8 kB / 0.7832 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/1.387, allocations: 0 / 0.7832 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00166/1.389, allocations: 0.9271 MB / 0.7841 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004689/1.393, allocations: 2.321 MB / 0.7864 GB, free: 5.055 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/1.393, allocations: 0 / 0.7864 GB, free: 5.055 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/1.395, allocations: 203.7 kB / 0.7866 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.017e-05/1.395, allocations: 4 kB / 0.7866 GB, free: 4.859 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.973e-05/1.395, allocations: 23.92 kB / 0.7866 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/1.395, allocations: 0 / 0.7866 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/1.395, allocations: 11.88 kB / 0.7866 GB, free: 4.824 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003313/1.398, allocations: 1.523 MB / 0.7881 GB, free: 3.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/1.399, allocations: 351.1 kB / 0.7884 GB, free: 2.906 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004412/1.4, allocations: 16 kB / 0.7884 GB, free: 2.891 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001854/1.401, allocations: 135.7 kB / 0.7886 GB, free: 2.758 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/1.402, allocations: 43.05 kB / 0.7886 GB, free: 2.719 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/1.402, allocations: 43.95 kB / 0.7886 GB, free: 2.676 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00209/1.404, allocations: 0.9689 MB / 0.7896 GB, free: 1.711 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.71e-07/1.404, allocations: 0 / 0.7896 GB, free: 1.711 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003544/1.407, allocations: 0.8964 MB / 0.7905 GB, free: 0.8125 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.0008461/1.408, allocations: 261.5 kB / 0.7907 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004058/1.412, allocations: 2.035 MB / 0.7927 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.412, allocations: 4.562 kB / 0.7927 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009112/1.413, allocations: 424.4 kB / 0.7931 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005597/1.419, allocations: 0.8917 MB / 0.794 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006749/1.426, allocations: 3.793 MB / 0.7977 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001492/1.427, allocations: 1.369 MB / 0.799 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002543/1.43, allocations: 435.8 kB / 0.7994 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005189/1.43, allocations: 123.4 kB / 0.7996 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of SimCode: time 2.605e-06/1.43, allocations: 0 / 0.7996 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of Templates: time 0.06209/1.492, allocations: 31.77 MB / 0.8306 GB, free: 8.023 MB / 0.5919 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: