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.006883/0.006883, allocations: 103.1 kB / 15.73 MB, free: 6.004 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.001247/0.001247, allocations: 193.8 kB / 16.68 MB, free: 5.93 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.416/1.416, allocations: 205.1 MB / 222.5 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2714/0.2714, allocations: 54.96 MB / 324.9 MB, free: 4.832 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.001709/0.001709, allocations: 75.84 kB / 456.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1252, allocations: 59.59 MB / 0.5037 GB, free: 7.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.9127/1.038, allocations: 274.8 MB / 0.772 GB, free: 31.75 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02222/1.06, allocations: 17.6 MB / 0.7892 GB, free: 31.65 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003188/1.064, allocations: 65.88 kB / 0.7893 GB, free: 31.65 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00356/1.067, allocations: 1.217 MB / 0.7905 GB, free: 31.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01/1.077, allocations: 3.185 MB / 0.7936 GB, free: 31.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007518/1.085, allocations: 2.3 MB / 0.7958 GB, free: 31.44 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009213/1.094, allocations: 5.2 MB / 0.8009 GB, free: 31.43 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004053/1.098, allocations: 1.807 MB / 0.8027 GB, free: 31.25 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007147/1.105, allocations: 2.422 MB / 0.805 GB, free: 31.23 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00538/1.111, allocations: 1.661 MB / 0.8067 GB, free: 31.22 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001259/1.112, allocations: 212.8 kB / 0.8069 GB, free: 31.22 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008926/1.121, allocations: 2.915 MB / 0.8097 GB, free: 31.19 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001997/1.123, allocations: 0.7951 MB / 0.8105 GB, free: 31.14 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003515/1.126, allocations: 1.2 MB / 0.8117 GB, free: 30.85 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009401/1.136, allocations: 4.027 MB / 0.8156 GB, free: 30.4 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/1.136, allocations: 2.656 kB / 0.8156 GB, free: 30.4 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.665e-06/1.136, allocations: 0 / 0.8156 GB, free: 30.4 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000156/1.136, allocations: 0.875 kB / 0.8156 GB, free: 30.4 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.007867/1.144, allocations: 2.632 MB / 0.8182 GB, free: 29.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/1.144, allocations: 14.33 kB / 0.8182 GB, free: 29.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004957/1.149, allocations: 0.6412 MB / 0.8188 GB, free: 28.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002994/1.152, allocations: 1.419 MB / 0.8202 GB, free: 28.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/1.152, allocations: 111.8 kB / 0.8203 GB, free: 28.53 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002664/1.152, allocations: 158.8 kB / 0.8205 GB, free: 28.53 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003943/1.156, allocations: 1.847 MB / 0.8223 GB, free: 28.21 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/1.156, allocations: 2.844 kB / 0.8223 GB, free: 28.21 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001646/1.157, allocations: 58.12 kB / 0.8223 GB, free: 28.21 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.33e-05/1.157, allocations: 58.48 kB / 0.8224 GB, free: 28.21 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003158/1.16, allocations: 1.516 MB / 0.8239 GB, free: 27.93 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.01035/1.17, allocations: 7.578 MB / 0.8313 GB, free: 22.85 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002216/1.172, allocations: 0.8565 MB / 0.8321 GB, free: 22.49 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005251/1.173, allocations: 380.4 kB / 0.8325 GB, free: 22.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.77e-05/1.173, allocations: 12.62 kB / 0.8325 GB, free: 22.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.803e-05/1.173, allocations: 49.31 kB / 0.8325 GB, free: 22.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008894/1.174, allocations: 116.4 kB / 0.8326 GB, free: 22.18 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=66): time 3.327e-06/1.174, allocations: 0 / 0.8326 GB, free: 22.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66): time 0.003645/1.178, allocations: 1.324 MB / 0.8339 GB, free: 21.54 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/1.178, allocations: 86.77 kB / 0.834 GB, free: 21.45 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002004/1.18, allocations: 1.442 MB / 0.8354 GB, free: 20.67 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001634/1.18, allocations: 49.11 kB / 0.8355 GB, free: 20.62 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005654/1.18, allocations: 0.8124 MB / 0.8362 GB, free: 19.91 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/1.181, allocations: 242.7 kB / 0.8365 GB, free: 19.71 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003965/1.181, allocations: 229.2 kB / 0.8367 GB, free: 19.58 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001275/1.181, allocations: 351.7 kB / 0.837 GB, free: 19.24 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009503/1.182, allocations: 462.2 kB / 0.8375 GB, free: 19.01 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/1.183, allocations: 0.7729 MB / 0.8382 GB, free: 18.38 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/1.185, allocations: 1.243 MB / 0.8394 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/1.185, allocations: 4 kB / 0.8394 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002561/1.188, allocations: 1.52 MB / 0.8409 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.326e-05/1.188, allocations: 118.8 kB / 0.841 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/1.188, allocations: 15.92 kB / 0.8411 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.983e-05/1.188, allocations: 12 kB / 0.8411 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/1.189, allocations: 255.9 kB / 0.8413 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.891e-05/1.189, allocations: 19.19 kB / 0.8413 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/1.191, allocations: 79.78 kB / 0.8414 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.352e-05/1.191, allocations: 51.98 kB / 0.8415 GB, free: 15 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001187/1.192, allocations: 0.7552 MB / 0.8422 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006933/1.193, allocations: 0.7202 MB / 0.8429 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001225/1.194, allocations: 1.154 MB / 0.844 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.22e-06/1.194, allocations: 1.797 kB / 0.844 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=135) (initialization_lambda0): time 0.001901/1.196, allocations: 1.405 MB / 0.8454 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5e-05/1.196, allocations: 123.7 kB / 0.8455 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/1.196, allocations: 8 kB / 0.8455 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/1.196, allocations: 15.94 kB / 0.8455 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008695/1.197, allocations: 231.1 kB / 0.8458 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/1.197, allocations: 14.62 kB / 0.8458 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/1.198, allocations: 63.94 kB / 0.8458 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.681e-05/1.198, allocations: 44 kB / 0.8459 GB, free: 10.25 MB / 0.5919 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.0002976/1.199, allocations: 247.4 kB / 0.8461 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/1.199, allocations: 166 kB / 0.8463 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/1.201, allocations: 0.9499 MB / 0.8472 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/1.201, allocations: 8 kB / 0.8472 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/1.201, allocations: 0 / 0.8472 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001333/1.202, allocations: 0.9036 MB / 0.8481 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003272/1.205, allocations: 2.306 MB / 0.8503 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.205, allocations: 3.938 kB / 0.8503 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009777/1.206, allocations: 201.1 kB / 0.8505 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/1.206, allocations: 0 / 0.8505 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.988e-05/1.206, allocations: 20 kB / 0.8506 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/1.206, allocations: 6.531 kB / 0.8506 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.206, allocations: 0 / 0.8506 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002369/1.209, allocations: 1.491 MB / 0.852 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007138/1.21, allocations: 355.1 kB / 0.8524 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002021/1.21, allocations: 12 kB / 0.8524 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/1.211, allocations: 79.81 kB / 0.8524 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.255e-05/1.211, allocations: 44.44 kB / 0.8525 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.322e-05/1.211, allocations: 39.91 kB / 0.8525 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001084/1.212, allocations: 0.9767 MB / 0.8535 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/1.212, allocations: 0 / 0.8535 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001994/1.214, allocations: 0.8886 MB / 0.8543 GB, free: 1.449 MB / 0.5919 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.0005212/1.215, allocations: 251.2 kB / 0.8546 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003051/1.218, allocations: 2.022 MB / 0.8566 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.218, allocations: 5.562 kB / 0.8566 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008517/1.219, allocations: 410.6 kB / 0.857 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004126/1.223, allocations: 0.9015 MB / 0.8578 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0052/1.228, allocations: 3.007 MB / 0.8608 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/1.229, allocations: 1.368 MB / 0.8621 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001982/1.231, allocations: 437.1 kB / 0.8625 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003633/1.232, allocations: 119.4 kB / 0.8626 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of SimCode: time 1.473e-06/1.232, allocations: 0 / 0.8626 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of Templates: time 0.05776/1.289, allocations: 32.93 MB / 0.8948 GB, free: 8.344 MB / 0.6387 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)