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.001294/0.001294, allocations: 109.4 kB / 16.41 MB, free: 6.488 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.001315/0.001315, allocations: 191 kB / 17.34 MB, free: 5.762 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8142/0.8142, allocations: 132.2 MB / 423.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 60.44 kB / 0.582 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1631, allocations: 80.22 MB / 0.6604 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.728/0.8911, allocations: 274.6 MB / 0.9285 GB, free: 3.012 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02509/0.9163, allocations: 17.35 MB / 0.9454 GB, free: 1.609 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002573/0.9189, allocations: 71.56 kB / 0.9455 GB, free: 1.539 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.003204/0.9221, allocations: 1.157 MB / 0.9466 GB, free: 384 kB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.008372/0.9306, allocations: 3.107 MB / 0.9497 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006018/0.9366, allocations: 2.197 MB / 0.9518 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007481/0.9441, allocations: 4.834 MB / 0.9565 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003317/0.9474, allocations: 1.761 MB / 0.9583 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00687/0.9543, allocations: 2.44 MB / 0.9606 GB, free: 2 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00365/0.958, allocations: 1.544 MB / 0.9622 GB, free: 472 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000937/0.959, allocations: 192 kB / 0.9623 GB, free: 280 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007076/0.9661, allocations: 3.013 MB / 0.9653 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001362/0.9675, allocations: 0.7168 MB / 0.966 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002635/0.9701, allocations: 1.12 MB / 0.9671 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.008628/0.9788, allocations: 3.833 MB / 0.9708 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.9788, allocations: 0 / 0.9708 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.053e-06/0.9788, allocations: 0 / 0.9708 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001221/0.979, allocations: 4 kB / 0.9708 GB, free: 7.562 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.006138/0.9851, allocations: 2.419 MB / 0.9732 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.9852, allocations: 8.031 kB / 0.9732 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004888/0.9901, allocations: 0.6417 MB / 0.9738 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003038/0.9931, allocations: 1.4 MB / 0.9752 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.9933, allocations: 102.5 kB / 0.9753 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004224/0.9937, allocations: 140 kB / 0.9754 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003192/0.9969, allocations: 1.563 MB / 0.9769 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.618e-05/0.997, allocations: 3.938 kB / 0.9769 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001746/0.9972, allocations: 60 kB / 0.977 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-05/0.9972, allocations: 50.45 kB / 0.977 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002357/0.9996, allocations: 1.263 MB / 0.9783 GB, free: 15.71 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.01009/1.01, allocations: 7.194 MB / 0.9853 GB, free: 7.949 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/1.011, allocations: 0.6501 MB / 0.9859 GB, free: 7.293 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005268/1.011, allocations: 371 kB / 0.9863 GB, free: 6.93 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00023/1.012, allocations: 101.7 kB / 0.9864 GB, free: 6.812 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/1.012, allocations: 43.12 kB / 0.9864 GB, free: 6.762 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006769/1.012, allocations: 103.1 kB / 0.9865 GB, free: 6.66 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=67): time 4.619e-06/1.012, allocations: 4 kB / 0.9865 GB, free: 6.656 MB / 0.7481 GB Notification: Performance of matching and sorting (n=67): time 0.002118/1.014, allocations: 1.021 MB / 0.9875 GB, free: 5.629 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/1.015, allocations: 59.97 kB / 0.9876 GB, free: 5.555 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002047/1.017, allocations: 1.335 MB / 0.9889 GB, free: 4.211 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001226/1.017, allocations: 49.64 kB / 0.9889 GB, free: 4.156 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006363/1.017, allocations: 0.7736 MB / 0.9897 GB, free: 3.375 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/1.018, allocations: 240.6 kB / 0.9899 GB, free: 3.137 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003281/1.018, allocations: 198.5 kB / 0.9901 GB, free: 2.938 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.018, allocations: 357.8 kB / 0.9905 GB, free: 2.582 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005857/1.019, allocations: 360.6 kB / 0.9908 GB, free: 2.227 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008154/1.02, allocations: 0.679 MB / 0.9915 GB, free: 1.406 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/1.021, allocations: 0.9489 MB / 0.9924 GB, free: 380 kB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/1.021, allocations: 0 / 0.9924 GB, free: 380 kB / 0.7481 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001979/1.023, allocations: 1.144 MB / 0.9935 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/1.023, allocations: 8 kB / 0.9935 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/1.023, allocations: 8 kB / 0.9935 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.921e-05/1.023, allocations: 12.81 kB / 0.9935 GB, free: 15.19 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009209/1.024, allocations: 215.7 kB / 0.9937 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.483e-05/1.024, allocations: 11.94 kB / 0.9938 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/1.025, allocations: 47.97 kB / 0.9938 GB, free: 14.92 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.994e-05/1.025, allocations: 39.98 kB / 0.9938 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001154/1.027, allocations: 0.6862 MB / 0.9945 GB, free: 14.19 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008248/1.027, allocations: 0.6712 MB / 0.9952 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001261/1.029, allocations: 0.9489 MB / 0.9961 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.713e-06/1.029, allocations: 4 kB / 0.9961 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001931/1.031, allocations: 1.137 MB / 0.9972 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/1.031, allocations: 12.03 kB / 0.9972 GB, free: 11.18 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/1.031, allocations: 15.92 kB / 0.9972 GB, free: 11.17 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/1.031, allocations: 12 kB / 0.9972 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008746/1.032, allocations: 203.7 kB / 0.9974 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/1.032, allocations: 15.94 kB / 0.9975 GB, free: 10.94 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/1.033, allocations: 61.94 kB / 0.9975 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.778e-05/1.033, allocations: 39.98 kB / 0.9975 GB, free: 10.84 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.0003395/1.034, allocations: 251.9 kB / 0.9978 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003683/1.034, allocations: 150.1 kB / 0.9979 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/1.035, allocations: 0.814 MB / 0.9987 GB, free: 9.609 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/1.035, allocations: 8 kB / 0.9987 GB, free: 9.602 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/1.036, allocations: 8 kB / 0.9987 GB, free: 9.594 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001008/1.037, allocations: 0.7823 MB / 0.9995 GB, free: 8.762 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003826/1.04, allocations: 2.29 MB / 1.002 GB, free: 6.391 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/1.04, allocations: 192 / 1.002 GB, free: 6.391 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008449/1.041, allocations: 179.8 kB / 1.002 GB, free: 6.215 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.341e-05/1.041, allocations: 7.938 kB / 1.002 GB, free: 6.207 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.068e-05/1.041, allocations: 19.94 kB / 1.002 GB, free: 6.188 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.776e-06/1.041, allocations: 7.938 kB / 1.002 GB, free: 6.18 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.155e-05/1.041, allocations: 3.984 kB / 1.002 GB, free: 6.176 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/1.043, allocations: 1.304 MB / 1.003 GB, free: 4.836 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006845/1.044, allocations: 335 kB / 1.004 GB, free: 4.488 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002877/1.044, allocations: 12 kB / 1.004 GB, free: 4.477 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/1.045, allocations: 42.78 kB / 1.004 GB, free: 4.438 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.253e-05/1.045, allocations: 36.52 kB / 1.004 GB, free: 4.402 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.039e-05/1.046, allocations: 39.97 kB / 1.004 GB, free: 4.363 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001436/1.047, allocations: 0.9005 MB / 1.005 GB, free: 3.465 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3e-07/1.047, allocations: 4 kB / 1.005 GB, free: 3.461 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002274/1.049, allocations: 0.8262 MB / 1.005 GB, free: 2.633 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (71): * Single equations (assignments): 71 * 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.0006667/1.05, allocations: 267.8 kB / 1.006 GB, free: 2.379 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002306/1.052, allocations: 1.334 MB / 1.007 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.052, allocations: 4 kB / 1.007 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004935/1.053, allocations: 343 kB / 1.007 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003993/1.057, allocations: 0.8479 MB / 1.008 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005496/1.062, allocations: 2.945 MB / 1.011 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009856/1.063, allocations: 1.352 MB / 1.012 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005197/1.064, allocations: 119.4 kB / 1.012 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of SimCode: time 9.72e-07/1.064, allocations: 0 / 1.012 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of Templates: time 0.04151/1.105, allocations: 25.55 MB / 1.037 GB, free: 2 MB / 0.795 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)