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.0009205/0.0009205, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.000965/0.000965, allocations: 177.3 kB / 15.95 MB, free: 216 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.386/1.386, 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.4094/0.4094, allocations: 54.98 MB / 325.4 MB, free: 0.6523 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.0006189/0.000619, allocations: 20 kB / 396.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3553, allocations: 60.71 MB / 457.3 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.4994/0.8547, allocations: 223.9 MB / 0.6652 GB, free: 16.4 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01826/0.873, allocations: 16 MB / 0.6808 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002005/0.8751, allocations: 55.09 kB / 0.6809 GB, free: 16.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002776/0.8779, allocations: 1.008 MB / 0.6819 GB, free: 16.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009492/0.8874, allocations: 3.004 MB / 0.6848 GB, free: 16.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005232/0.8926, allocations: 1.701 MB / 0.6865 GB, free: 16.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005811/0.8985, allocations: 2.947 MB / 0.6893 GB, free: 16.15 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002802/0.9013, allocations: 1.374 MB / 0.6907 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004734/0.906, allocations: 1.606 MB / 0.6923 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002852/0.9089, allocations: 1.012 MB / 0.6932 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007825/0.9097, allocations: 78.5 kB / 0.6933 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005457/0.9152, allocations: 1.303 MB / 0.6946 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001392/0.9166, allocations: 0.5901 MB / 0.6952 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001273/0.9179, allocations: 456.2 kB / 0.6956 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003871/0.9217, allocations: 2.637 MB / 0.6982 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.9217, allocations: 3.094 kB / 0.6982 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.734e-06/0.9218, allocations: 0 / 0.6982 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.264e-05/0.9218, allocations: 0 / 0.6982 GB, free: 15.49 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.00371/0.9255, allocations: 2.178 MB / 0.7003 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.9256, allocations: 7.719 kB / 0.7003 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004095/0.9297, allocations: 0.6501 MB / 0.701 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002144/0.9318, allocations: 1.312 MB / 0.7022 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.609e-05/0.9319, allocations: 114.1 kB / 0.7023 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001818/0.9321, allocations: 149.2 kB / 0.7025 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00312/0.9352, allocations: 1.853 MB / 0.7043 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.9353, allocations: 6.938 kB / 0.7043 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/0.9354, allocations: 64.91 kB / 0.7044 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.023e-05/0.9355, allocations: 50.78 kB / 0.7044 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002822/0.9383, allocations: 1.529 MB / 0.7059 GB, free: 12.3 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.00735/0.9457, allocations: 7.606 MB / 0.7133 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/0.9475, allocations: 0.8868 MB / 0.7142 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.982e-05/0.9476, allocations: 11.81 kB / 0.7142 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.9476, allocations: 48.52 kB / 0.7143 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007881/0.9484, allocations: 155 kB / 0.7144 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 2.936e-06/0.9484, allocations: 0 / 0.7144 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.003241/0.9517, allocations: 1.366 MB / 0.7157 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.9517, allocations: 91.97 kB / 0.7158 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/0.9531, allocations: 1.428 MB / 0.7172 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.19e-05/0.9532, allocations: 45.67 kB / 0.7173 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004072/0.9537, allocations: 0.8143 MB / 0.7181 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.9538, allocations: 244.3 kB / 0.7183 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.819e-05/0.9539, allocations: 23.38 kB / 0.7183 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.395e-05/0.954, allocations: 344.7 kB / 0.7186 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000795/0.9548, allocations: 457.9 kB / 0.7191 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009118/0.9557, allocations: 0.7744 MB / 0.7198 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009375/0.9566, allocations: 0.6675 MB / 0.7205 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.9567, allocations: 1.781 kB / 0.7205 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003825/0.9605, allocations: 1.525 MB / 0.722 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006237/0.9611, allocations: 3.141 MB / 0.725 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/0.9612, allocations: 13.05 kB / 0.7251 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.103e-05/0.9612, allocations: 16.56 kB / 0.7251 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/0.9629, allocations: 258.4 kB / 0.7253 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.892e-05/0.9629, allocations: 19.19 kB / 0.7253 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002957/0.9659, allocations: 165.8 kB / 0.7255 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/0.966, allocations: 45.56 kB / 0.7255 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.966, allocations: 6.469 kB / 0.7255 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002637/0.9687, allocations: 1.263 MB / 0.7268 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.9687, allocations: 11.28 kB / 0.7268 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.9687, allocations: 12.56 kB / 0.7268 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.9701, allocations: 223.5 kB / 0.727 GB, free: 340 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.307e-05/0.9701, allocations: 17.47 kB / 0.727 GB, free: 340 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002685/0.9728, allocations: 127.4 kB / 0.7272 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.973, allocations: 51.92 kB / 0.7272 GB, free: 292 kB / 0.4981 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,senMas1.i_x,senMas2.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001236/0.9742, allocations: 0.5194 MB / 0.7277 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003949/0.9746, allocations: 158.1 kB / 0.7279 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002762/0.9774, allocations: 0.9575 MB / 0.7288 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.9774, allocations: 13.36 kB / 0.7288 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.9775, allocations: 3.984 kB / 0.7288 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002243/0.9797, allocations: 0.9247 MB / 0.7297 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005697/0.9854, allocations: 2.319 MB / 0.732 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.9854, allocations: 0 / 0.732 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001526/0.987, allocations: 206.4 kB / 0.7322 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/0.987, allocations: 4 kB / 0.7322 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.643e-05/0.9871, allocations: 24.58 kB / 0.7322 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.957e-06/0.9871, allocations: 4 kB / 0.7322 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.9871, allocations: 0 / 0.7322 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004298/0.9914, allocations: 1.562 MB / 0.7337 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/0.9927, allocations: 356.8 kB / 0.7341 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003144/0.993, allocations: 17.25 kB / 0.7341 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002021/0.9951, allocations: 125.9 kB / 0.7342 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.9952, allocations: 40.89 kB / 0.7343 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/0.9954, allocations: 43.14 kB / 0.7343 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002145/0.9975, allocations: 0.9601 MB / 0.7352 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.4e-07/0.9975, allocations: 0 / 0.7352 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003547/1.001, allocations: 0.8947 MB / 0.7361 GB, free: 10.51 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007607/1.002, allocations: 271.1 kB / 0.7364 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004732/1.007, allocations: 2.023 MB / 0.7383 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/1.007, allocations: 4.562 kB / 0.7383 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/1.008, allocations: 419.4 kB / 0.7387 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006208/1.014, allocations: 0.8883 MB / 0.7396 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005583/1.02, allocations: 3.619 MB / 0.7431 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009311/1.021, allocations: 1.409 MB / 0.7445 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001954/1.023, allocations: 436.8 kB / 0.7449 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003215/1.023, allocations: 118.3 kB / 0.745 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of SimCode: time 9.12e-07/1.023, allocations: 0 / 0.745 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of Templates: time 0.04918/1.072, allocations: 30.69 MB / 0.775 GB, free: 4.066 MB / 0.545 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: