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.008611/0.008611, allocations: 100.6 kB / 15.73 MB, free: 6.051 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.001633/0.001634, allocations: 185.2 kB / 16.67 MB, free: 5.98 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.423/1.423, allocations: 205.1 MB / 222.5 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4394/0.4394, allocations: 54.95 MB / 324.8 MB, free: 40 kB / 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.001498/0.001498, allocations: 70.02 kB / 456.3 MB, free: 38.51 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1475, allocations: 59.59 MB / 0.5038 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.7837/0.9313, allocations: 274.8 MB / 0.7722 GB, free: 7.625 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04068/0.972, allocations: 17.6 MB / 0.7893 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004919/0.977, allocations: 63.69 kB / 0.7894 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005632/0.9827, allocations: 1.27 MB / 0.7906 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01341/0.9962, allocations: 3.305 MB / 0.7939 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.009374/1.006, allocations: 2.338 MB / 0.7962 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01022/1.016, allocations: 5.206 MB / 0.8012 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004232/1.02, allocations: 1.818 MB / 0.803 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007232/1.027, allocations: 2.492 MB / 0.8054 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004651/1.032, allocations: 1.656 MB / 0.8071 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008856/1.033, allocations: 216 kB / 0.8073 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008082/1.041, allocations: 2.931 MB / 0.8101 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001584/1.043, allocations: 0.7869 MB / 0.8109 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002826/1.045, allocations: 1.198 MB / 0.8121 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009198/1.055, allocations: 4.031 MB / 0.816 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.055, allocations: 0 / 0.816 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.585e-06/1.055, allocations: 0 / 0.816 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001392/1.055, allocations: 4 kB / 0.816 GB, free: 10.58 MB / 0.5919 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.007292/1.062, allocations: 2.641 MB / 0.8186 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.062, allocations: 8.031 kB / 0.8186 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00476/1.067, allocations: 0.6377 MB / 0.8192 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002793/1.07, allocations: 1.424 MB / 0.8206 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/1.07, allocations: 114.8 kB / 0.8207 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002653/1.07, allocations: 155.9 kB / 0.8209 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003755/1.074, allocations: 1.847 MB / 0.8227 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.356e-05/1.074, allocations: 0 / 0.8227 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001535/1.074, allocations: 64 kB / 0.8227 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.309e-05/1.074, allocations: 50.67 kB / 0.8228 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003172/1.077, allocations: 1.517 MB / 0.8243 GB, free: 1.902 MB / 0.5919 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.0102/1.088, allocations: 7.584 MB / 0.8317 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/1.09, allocations: 0.8581 MB / 0.8325 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006575/1.091, allocations: 370.2 kB / 0.8329 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.168e-05/1.091, allocations: 16.55 kB / 0.8329 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/1.091, allocations: 51.06 kB / 0.8329 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007121/1.091, allocations: 110.9 kB / 0.833 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=66): time 3.216e-06/1.091, allocations: 4 kB / 0.833 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=66): time 0.003799/1.095, allocations: 1.321 MB / 0.8343 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.498e-05/1.095, allocations: 85.67 kB / 0.8344 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001945/1.097, allocations: 1.444 MB / 0.8358 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/1.097, allocations: 45.7 kB / 0.8359 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000667/1.098, allocations: 0.8162 MB / 0.8367 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002363/1.098, allocations: 240.6 kB / 0.8369 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003831/1.099, allocations: 234.7 kB / 0.8371 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.099, allocations: 345.9 kB / 0.8374 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/1.1, allocations: 457.8 kB / 0.8379 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/1.101, allocations: 0.7749 MB / 0.8386 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002082/1.103, allocations: 1.24 MB / 0.8398 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/1.103, allocations: 4 kB / 0.8398 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002868/1.106, allocations: 1.521 MB / 0.8413 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001123/1.106, allocations: 121 kB / 0.8414 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/1.106, allocations: 8 kB / 0.8415 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.032e-05/1.106, allocations: 12 kB / 0.8415 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/1.107, allocations: 256 kB / 0.8417 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-05/1.107, allocations: 19.92 kB / 0.8417 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/1.109, allocations: 79.84 kB / 0.8418 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/1.109, allocations: 59.97 kB / 0.8419 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001447/1.111, allocations: 0.7499 MB / 0.8426 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001028/1.112, allocations: 0.7281 MB / 0.8433 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001598/1.113, allocations: 1.147 MB / 0.8444 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.148e-06/1.113, allocations: 0 / 0.8444 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of matching and sorting (n=135) (initialization_lambda0): time 0.002271/1.116, allocations: 1.409 MB / 0.8458 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.989e-05/1.116, allocations: 130.9 kB / 0.8459 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/1.116, allocations: 8 kB / 0.8459 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/1.116, allocations: 12 kB / 0.8459 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009385/1.117, allocations: 223.7 kB / 0.8462 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/1.117, allocations: 15.94 kB / 0.8462 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/1.118, allocations: 60.11 kB / 0.8462 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-05/1.118, allocations: 55.98 kB / 0.8463 GB, free: 10.02 MB / 0.6231 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.0003628/1.118, allocations: 255.8 kB / 0.8465 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002467/1.119, allocations: 158 kB / 0.8467 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/1.121, allocations: 0.9473 MB / 0.8476 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/1.121, allocations: 8 kB / 0.8476 GB, free: 8.633 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.121, allocations: 0 / 0.8476 GB, free: 8.633 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001624/1.122, allocations: 0.905 MB / 0.8485 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00392/1.126, allocations: 2.309 MB / 0.8508 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/1.126, allocations: 0 / 0.8508 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/1.127, allocations: 199.8 kB / 0.8509 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/1.127, allocations: 4 kB / 0.8509 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.508e-05/1.128, allocations: 19.98 kB / 0.851 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/1.128, allocations: 4 kB / 0.851 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.128, allocations: 0 / 0.851 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002862/1.13, allocations: 1.501 MB / 0.8524 GB, free: 3.555 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006877/1.131, allocations: 351.1 kB / 0.8528 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002145/1.131, allocations: 20 kB / 0.8528 GB, free: 3.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/1.133, allocations: 71.77 kB / 0.8529 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/1.133, allocations: 44.5 kB / 0.8529 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.782e-05/1.133, allocations: 35.97 kB / 0.8529 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00141/1.134, allocations: 0.9728 MB / 0.8539 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/1.134, allocations: 0 / 0.8539 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002237/1.136, allocations: 0.8886 MB / 0.8548 GB, free: 1.164 MB / 0.6231 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.0006548/1.137, allocations: 263.1 kB / 0.855 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0035/1.141, allocations: 2.014 MB / 0.857 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/1.141, allocations: 8.625 kB / 0.857 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008294/1.141, allocations: 410.9 kB / 0.8574 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004195/1.146, allocations: 0.9093 MB / 0.8583 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005484/1.151, allocations: 3.012 MB / 0.8612 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/1.152, allocations: 1.372 MB / 0.8625 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001917/1.154, allocations: 433.1 kB / 0.863 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003658/1.155, allocations: 119.4 kB / 0.8631 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of SimCode: time 1.212e-06/1.155, allocations: 0 / 0.8631 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of Templates: time 0.4211/1.576, allocations: 33.16 MB / 0.8954 GB, free: 134.2 MB / 0.6544 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)