Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001275/0.001275, allocations: 110.9 kB / 16.41 MB, free: 5.918 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.001242/0.001242, allocations: 191 kB / 17.35 MB, free: 5.555 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.252/1.252, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7649/0.7649, allocations: 135.1 MB / 426.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 66.86 kB / 0.5863 GB, free: 21.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.126, allocations: 80.92 MB / 0.6653 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.5464/0.6725, allocations: 274.6 MB / 0.9335 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02063/0.6931, allocations: 17.34 MB / 0.9504 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001859/0.695, allocations: 67.62 kB / 0.9505 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002755/0.6978, allocations: 1.212 MB / 0.9517 GB, free: 9.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006884/0.7047, allocations: 3.216 MB / 0.9548 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004711/0.7094, allocations: 2.239 MB / 0.957 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00535/0.7148, allocations: 4.831 MB / 0.9617 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002328/0.7171, allocations: 1.764 MB / 0.9634 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004858/0.722, allocations: 2.494 MB / 0.9659 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002464/0.7245, allocations: 1.546 MB / 0.9674 GB, free: 9.492 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003752/0.7249, allocations: 192 kB / 0.9676 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004902/0.7298, allocations: 3.02 MB / 0.9705 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007564/0.7305, allocations: 0.7207 MB / 0.9712 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001467/0.732, allocations: 1.124 MB / 0.9723 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005182/0.7372, allocations: 3.843 MB / 0.9761 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.7372, allocations: 0 / 0.9761 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7372, allocations: 0 / 0.9761 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.393e-05/0.7373, allocations: 0 / 0.9761 GB, free: 0.5703 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.00423/0.7415, allocations: 2.498 MB / 0.9785 GB, free: 14 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.7416, allocations: 9.109 kB / 0.9785 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004406/0.746, allocations: 0.635 MB / 0.9791 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002222/0.7482, allocations: 1.421 MB / 0.9805 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.776e-05/0.7483, allocations: 102.5 kB / 0.9806 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002156/0.7485, allocations: 136 kB / 0.9807 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/0.751, allocations: 1.571 MB / 0.9823 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.245e-05/0.751, allocations: 7.922 kB / 0.9823 GB, free: 10 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/0.7511, allocations: 56 kB / 0.9823 GB, free: 9.945 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.594e-05/0.7512, allocations: 42.45 kB / 0.9824 GB, free: 9.902 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00198/0.7532, allocations: 1.266 MB / 0.9836 GB, free: 8.629 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.00775/0.7609, allocations: 7.204 MB / 0.9907 GB, free: 0.8516 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009505/0.7619, allocations: 0.6581 MB / 0.9913 GB, free: 192 kB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004993/0.7624, allocations: 363 kB / 0.9916 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001757/0.7626, allocations: 109.6 kB / 0.9917 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.7626, allocations: 43.11 kB / 0.9918 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004565/0.7631, allocations: 107.3 kB / 0.9919 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=67): time 2.124e-06/0.7631, allocations: 3.938 kB / 0.9919 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of matching and sorting (n=67): time 0.001752/0.7649, allocations: 1.013 MB / 0.9929 GB, free: 14.53 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.7649, allocations: 55.97 kB / 0.9929 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/0.7664, allocations: 1.343 MB / 0.9943 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 7.473e-05/0.7665, allocations: 45.7 kB / 0.9943 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005392/0.7671, allocations: 0.7986 MB / 0.9951 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/0.7673, allocations: 253.9 kB / 0.9953 GB, free: 12 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002743/0.7676, allocations: 198.5 kB / 0.9955 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.7677, allocations: 353.8 kB / 0.9958 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005206/0.7682, allocations: 348.7 kB / 0.9962 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007628/0.769, allocations: 0.6871 MB / 0.9968 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.7702, allocations: 0.9449 MB / 0.9978 GB, free: 9.246 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.7702, allocations: 4 kB / 0.9978 GB, free: 9.242 MB / 0.7637 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001666/0.7719, allocations: 1.157 MB / 0.9989 GB, free: 8.078 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.7719, allocations: 12.19 kB / 0.9989 GB, free: 8.066 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.7719, allocations: 8 kB / 0.9989 GB, free: 8.059 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.772, allocations: 12 kB / 0.9989 GB, free: 8.047 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008696/0.7728, allocations: 207.7 kB / 0.9991 GB, free: 7.844 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/0.7729, allocations: 15.98 kB / 0.9991 GB, free: 7.828 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.774, allocations: 46.81 kB / 0.9992 GB, free: 7.785 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.142e-05/0.7741, allocations: 40 kB / 0.9992 GB, free: 7.746 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009434/0.7751, allocations: 0.6931 MB / 0.9999 GB, free: 7.047 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000768/0.7759, allocations: 0.6788 MB / 1.001 GB, free: 6.23 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001195/0.7771, allocations: 0.941 MB / 1.001 GB, free: 5.195 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.669e-06/0.7771, allocations: 8 kB / 1.001 GB, free: 5.188 MB / 0.7637 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001658/0.7787, allocations: 1.156 MB / 1.003 GB, free: 4.027 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.7788, allocations: 8 kB / 1.003 GB, free: 4.02 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.7788, allocations: 8 kB / 1.003 GB, free: 4.012 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.7788, allocations: 12 kB / 1.003 GB, free: 4 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008335/0.7796, allocations: 207.7 kB / 1.003 GB, free: 3.797 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.789e-05/0.7797, allocations: 20.7 kB / 1.003 GB, free: 3.777 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.7809, allocations: 54.59 kB / 1.003 GB, free: 3.727 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.544e-05/0.7809, allocations: 40 kB / 1.003 GB, free: 3.688 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.0002112/0.7812, allocations: 247.9 kB / 1.003 GB, free: 3.438 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.7814, allocations: 155 kB / 1.003 GB, free: 3.285 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.7827, allocations: 0.8279 MB / 1.004 GB, free: 2.441 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009509/0.7836, allocations: 0.7824 MB / 1.005 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.7837, allocations: 0 / 1.005 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004464/0.7841, allocations: 320 kB / 1.005 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/0.7843, allocations: 23.94 kB / 1.005 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008652/0.7852, allocations: 35.62 kB / 1.005 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.242e-05/0.7853, allocations: 40.59 kB / 1.005 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001647/0.7869, allocations: 0.8602 MB / 1.006 GB, free: 324 kB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001715/0.7886, allocations: 1.386 MB / 1.008 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004147/0.7891, allocations: 337.1 kB / 1.008 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001105/0.7902, allocations: 0.916 MB / 1.009 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of Backend: time 3.2e-07/0.7902, allocations: 0 / 1.009 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003357/0.7936, allocations: 1.754 MB / 1.01 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of SimCode: time 0.006095/0.7997, allocations: 3.836 MB / 1.014 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of Templates: time 0.05743/0.8571, allocations: 38.91 MB / 1.052 GB, free: 1.402 MB / 0.8106 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)