Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001091/0.001091, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.001385/0.001385, allocations: 183.9 kB / 17.35 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8082/0.8082, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 66.86 kB / 0.582 GB, free: 23.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1258, allocations: 80.2 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.5486/0.6744, allocations: 274.6 MB / 0.9285 GB, free: 3.094 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02117/0.6956, allocations: 17.36 MB / 0.9455 GB, free: 1.684 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001807/0.6975, allocations: 67.62 kB / 0.9455 GB, free: 1.617 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002601/0.7001, allocations: 1.212 MB / 0.9467 GB, free: 408 kB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.006849/0.707, allocations: 3.213 MB / 0.9498 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00498/0.712, allocations: 2.236 MB / 0.952 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005674/0.7177, allocations: 4.834 MB / 0.9567 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002139/0.7198, allocations: 1.772 MB / 0.9585 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004892/0.7247, allocations: 2.496 MB / 0.9609 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00233/0.7271, allocations: 1.538 MB / 0.9624 GB, free: 288 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003102/0.7274, allocations: 192 kB / 0.9626 GB, free: 96 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005457/0.7328, allocations: 3.02 MB / 0.9655 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007164/0.7336, allocations: 0.7168 MB / 0.9662 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001242/0.7348, allocations: 1.12 MB / 0.9673 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005217/0.7401, allocations: 3.847 MB / 0.9711 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.7401, allocations: 0 / 0.9711 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7401, allocations: 0 / 0.9711 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.596e-05/0.7401, allocations: 0 / 0.9711 GB, free: 7.363 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.00379/0.7439, allocations: 2.494 MB / 0.9735 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.744, allocations: 8.031 kB / 0.9735 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004349/0.7483, allocations: 0.6466 MB / 0.9742 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/0.7504, allocations: 1.417 MB / 0.9756 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.912e-05/0.7505, allocations: 98.55 kB / 0.9756 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/0.7507, allocations: 148 kB / 0.9758 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0024/0.7531, allocations: 1.561 MB / 0.9773 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/0.7532, allocations: 7.875 kB / 0.9773 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/0.7533, allocations: 56 kB / 0.9774 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.322e-05/0.7534, allocations: 46.45 kB / 0.9774 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/0.7554, allocations: 1.267 MB / 0.9787 GB, free: 15.41 MB / 0.7481 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.008051/0.7635, allocations: 7.204 MB / 0.9857 GB, free: 7.641 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009858/0.7645, allocations: 0.6423 MB / 0.9863 GB, free: 6.992 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005441/0.765, allocations: 371 kB / 0.9867 GB, free: 6.629 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002036/0.7653, allocations: 109.6 kB / 0.9868 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.7653, allocations: 43.12 kB / 0.9868 GB, free: 6.453 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004315/0.7657, allocations: 99.34 kB / 0.9869 GB, free: 6.355 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=67): time 2.444e-06/0.7658, allocations: 4 kB / 0.9869 GB, free: 6.352 MB / 0.7481 GB Notification: Performance of matching and sorting (n=67): time 0.001846/0.7676, allocations: 1.025 MB / 0.9879 GB, free: 5.32 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.7676, allocations: 55.97 kB / 0.988 GB, free: 5.25 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/0.7692, allocations: 1.343 MB / 0.9893 GB, free: 3.898 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.362e-05/0.7693, allocations: 53.62 kB / 0.9893 GB, free: 3.84 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000563/0.7699, allocations: 0.7869 MB / 0.9901 GB, free: 3.047 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/0.7701, allocations: 257.8 kB / 0.9903 GB, free: 2.793 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003034/0.7704, allocations: 194.6 kB / 0.9905 GB, free: 2.598 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.7705, allocations: 349.9 kB / 0.9909 GB, free: 2.25 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005646/0.7711, allocations: 356.7 kB / 0.9912 GB, free: 1.898 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007983/0.7719, allocations: 0.679 MB / 0.9919 GB, free: 1.078 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.7732, allocations: 0.9488 MB / 0.9928 GB, free: 44 kB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.7732, allocations: 4 kB / 0.9928 GB, free: 40 kB / 0.7481 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001785/0.775, allocations: 1.149 MB / 0.9939 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.775, allocations: 12.11 kB / 0.9939 GB, free: 14.87 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.7751, allocations: 12 kB / 0.9939 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.7751, allocations: 12 kB / 0.994 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009048/0.776, allocations: 203.7 kB / 0.9942 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/0.776, allocations: 15.94 kB / 0.9942 GB, free: 14.63 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.7772, allocations: 49.69 kB / 0.9942 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.906e-05/0.7773, allocations: 43.98 kB / 0.9943 GB, free: 14.54 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009864/0.7783, allocations: 0.6901 MB / 0.9949 GB, free: 13.85 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008118/0.7791, allocations: 0.679 MB / 0.9956 GB, free: 13.03 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001304/0.7804, allocations: 0.9449 MB / 0.9965 GB, free: 12 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.57e-06/0.7804, allocations: 8 kB / 0.9965 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001767/0.7822, allocations: 1.149 MB / 0.9976 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.7822, allocations: 8 kB / 0.9977 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.7822, allocations: 8 kB / 0.9977 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.7823, allocations: 15.98 kB / 0.9977 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000851/0.7831, allocations: 207.7 kB / 0.9979 GB, free: 10.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/0.7831, allocations: 15.98 kB / 0.9979 GB, free: 10.58 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.7843, allocations: 56.31 kB / 0.9979 GB, free: 10.53 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.426e-05/0.7844, allocations: 39.98 kB / 0.998 GB, free: 10.49 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 119 * Array equations: 2 * 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 prepare postOptimizeDAE: time 0.0002293/0.7846, allocations: 247.9 kB / 0.9982 GB, free: 10.24 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002363/0.7849, allocations: 159 kB / 0.9984 GB, free: 10.08 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/0.7862, allocations: 0.8279 MB / 0.9992 GB, free: 9.234 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00101/0.7873, allocations: 0.7785 MB / 0.9999 GB, free: 8.406 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.7873, allocations: 0 / 0.9999 GB, free: 8.406 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000484/0.7878, allocations: 328 kB / 1 GB, free: 8.066 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.788, allocations: 15.94 kB / 1 GB, free: 8.051 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008503/0.7888, allocations: 38.72 kB / 1 GB, free: 8.016 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.788e-05/0.7889, allocations: 36.61 kB / 1 GB, free: 7.977 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001706/0.7906, allocations: 0.868 MB / 1.001 GB, free: 7.105 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001734/0.7924, allocations: 1.386 MB / 1.003 GB, free: 5.695 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004468/0.7928, allocations: 333.1 kB / 1.003 GB, free: 5.371 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001233/0.7941, allocations: 0.9121 MB / 1.004 GB, free: 4.461 MB / 0.7637 GB Notification: Performance of Backend: time 5.51e-07/0.7941, allocations: 4 kB / 1.004 GB, free: 4.457 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003784/0.7979, allocations: 1.748 MB / 1.005 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of SimCode: time 0.006509/0.8044, allocations: 3.843 MB / 1.009 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of Templates: time 0.05812/0.8625, allocations: 38.91 MB / 1.047 GB, free: 8.219 MB / 0.8106 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)