Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.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.MassExchangers.Examples.Humidifier_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u") translateModel(Annex60.Fluid.MassExchangers.Examples.Humidifier_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009165/0.0009163, allocations: 103 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.0009852/0.0009853, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3649/0.3649, allocations: 54.97 MB / 325.4 MB, free: 0.6914 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.0005251/0.0005254, allocations: 16 kB / 396.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2954, allocations: 60.72 MB / 457.3 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.MassExchangers.Examples.Humidifier_u): time 0.5416/0.837, allocations: 209.4 MB / 0.6511 GB, free: 16.61 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01321/0.8502, allocations: 9.662 MB / 0.6605 GB, free: 16.53 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002371/0.8526, allocations: 66.88 kB / 0.6606 GB, free: 16.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00343/0.8561, allocations: 0.861 MB / 0.6614 GB, free: 16.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008797/0.8649, allocations: 2.644 MB / 0.664 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005375/0.8703, allocations: 1.732 MB / 0.6657 GB, free: 16.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004822/0.8751, allocations: 2.665 MB / 0.6683 GB, free: 16.47 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002066/0.8772, allocations: 1.253 MB / 0.6695 GB, free: 16.31 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004041/0.8813, allocations: 1.496 MB / 0.671 GB, free: 16.31 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002174/0.8835, allocations: 0.9333 MB / 0.6719 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002884/0.8838, allocations: 67.66 kB / 0.672 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004144/0.8879, allocations: 1.387 MB / 0.6733 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009703/0.8889, allocations: 0.4926 MB / 0.6738 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.8901, allocations: 435.5 kB / 0.6742 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004101/0.8942, allocations: 2.517 MB / 0.6767 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.8942, allocations: 0 / 0.6767 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8942, allocations: 0.875 kB / 0.6767 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.672e-05/0.8943, allocations: 0 / 0.6767 GB, free: 16.09 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.004752/0.899, allocations: 2.268 MB / 0.6789 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.8991, allocations: 8.812 kB / 0.6789 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003847/0.9029, allocations: 0.6354 MB / 0.6795 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003382/0.9063, allocations: 1.381 MB / 0.6809 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004188/0.9068, allocations: 173.6 kB / 0.681 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002957/0.9071, allocations: 147.7 kB / 0.6812 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003935/0.911, allocations: 1.711 MB / 0.6829 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.9111, allocations: 0 / 0.6829 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001762/0.9112, allocations: 60.17 kB / 0.6829 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.147e-05/0.9113, allocations: 48.36 kB / 0.683 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003583/0.9149, allocations: 1.44 MB / 0.6844 GB, free: 14.01 MB / 0.4981 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.01022/0.9252, allocations: 6.334 MB / 0.6906 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/0.9277, allocations: 1.135 MB / 0.6917 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003491/0.9281, allocations: 139.8 kB / 0.6918 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001547/0.9296, allocations: 0.7861 MB / 0.6926 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=80): time 2.103e-06/0.9296, allocations: 3.312 kB / 0.6926 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=80): time 0.005715/0.9354, allocations: 2.105 MB / 0.6946 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.035e-05/0.9355, allocations: 375.6 kB / 0.695 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/0.9375, allocations: 1.493 MB / 0.6964 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001924/0.9377, allocations: 47.98 kB / 0.6965 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005572/0.9382, allocations: 0.831 MB / 0.6973 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.9385, allocations: 279.7 kB / 0.6976 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.948e-05/0.9385, allocations: 26.61 kB / 0.6976 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.759e-05/0.9386, allocations: 350 kB / 0.6979 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009962/0.9396, allocations: 0.4994 MB / 0.6984 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.9408, allocations: 0.818 MB / 0.6992 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.9418, allocations: 0.652 MB / 0.6998 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.9419, allocations: 3.312 kB / 0.6998 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.004271/0.9461, allocations: 1.847 MB / 0.7016 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004177/0.9466, allocations: 2.438 MB / 0.704 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.9466, allocations: 9.094 kB / 0.704 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004176/0.947, allocations: 137 kB / 0.7042 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.9481, allocations: 233.7 kB / 0.7044 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004103/0.9522, allocations: 2.456 MB / 0.7068 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002263/0.9545, allocations: 252.9 kB / 0.707 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.9546, allocations: 46.77 kB / 0.7071 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/0.9546, allocations: 7.312 kB / 0.7071 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00241/0.957, allocations: 1.394 MB / 0.7084 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.9571, allocations: 5.656 kB / 0.7084 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000165/0.9572, allocations: 53.34 kB / 0.7085 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.9583, allocations: 227.5 kB / 0.7087 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.9596, allocations: 1.616 MB / 0.7103 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002404/0.962, allocations: 206.3 kB / 0.7105 GB, free: 4 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.9622, allocations: 47.58 kB / 0.7105 GB, free: 0 / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 11 (humSte.vol.i_w,humDyn.vol.i_w,$whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 117 * Array equations: 2 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001344/0.9635, allocations: 0.5264 MB / 0.7111 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004032/0.9639, allocations: 181.8 kB / 0.7112 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003491/0.9674, allocations: 1.417 MB / 0.7126 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.9675, allocations: 7.875 kB / 0.7126 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.9675, allocations: 2.75 kB / 0.7126 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002993/0.9705, allocations: 1.28 MB / 0.7139 GB, free: 14.87 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 postOpt removeSimpleEquations (simulation): time 0.006834/0.9773, allocations: 3.211 MB / 0.717 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.9774, allocations: 0 / 0.717 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008883/0.9782, allocations: 179.9 kB / 0.7172 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003644/0.9786, allocations: 134 kB / 0.7173 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-05/0.9787, allocations: 23.39 kB / 0.7173 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003825/0.9825, allocations: 2.223 MB / 0.7195 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.9826, allocations: 4.219 kB / 0.7195 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00491/0.9875, allocations: 2.174 MB / 0.7216 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/0.9887, allocations: 372 kB / 0.722 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003039/0.989, allocations: 23.44 kB / 0.722 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/0.9904, allocations: 127 kB / 0.7221 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.9906, allocations: 54.91 kB / 0.7222 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.226e-05/0.9906, allocations: 32.23 kB / 0.7222 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001438/0.9921, allocations: 1.004 MB / 0.7232 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9921, allocations: 4 kB / 0.7232 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002671/0.9948, allocations: 0.902 MB / 0.7241 GB, free: 9.004 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.U,humDyn.vol.dynBal.mXi[1],senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006683/0.9955, allocations: 260.9 kB / 0.7243 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004525/1, allocations: 2.442 MB / 0.7267 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/1, allocations: 1 kB / 0.7267 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0013/1.001, allocations: 0.7243 MB / 0.7274 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004701/1.006, allocations: 0.8579 MB / 0.7283 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008517/1.015, allocations: 4.022 MB / 0.7322 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/1.016, allocations: 1.41 MB / 0.7336 GB, free: 440 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001914/1.018, allocations: 381 kB / 0.7339 GB, free: 56 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003205/1.018, allocations: 122 kB / 0.734 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of SimCode: time 7.82e-07/1.018, allocations: 0 / 0.734 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of Templates: time 0.05102/1.069, allocations: 32.07 MB / 0.7654 GB, free: 268 kB / 0.545 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.sim & ./Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.Humidifier_u.pipe 2>&1) Environment - environmentSimulation: