Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001586/0.001587, allocations: 109.2 kB / 16.42 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.00181/0.00181, allocations: 185.7 kB / 17.35 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.291/1.291, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002058/0.002058, allocations: 278.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9287/0.9287, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 99.8 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3674, allocations: 86.98 MB / 0.7671 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.5669/0.9343, allocations: 274.6 MB / 1.035 GB, free: 16.06 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0172/0.9515, allocations: 17.37 MB / 1.052 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/0.9535, allocations: 70.84 kB / 1.052 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002215/0.9558, allocations: 1.158 MB / 1.053 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005704/0.9615, allocations: 3.106 MB / 1.056 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004172/0.9657, allocations: 2.209 MB / 1.059 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0048/0.9705, allocations: 4.847 MB / 1.063 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001742/0.9722, allocations: 1.774 MB / 1.065 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004206/0.9765, allocations: 2.448 MB / 1.067 GB, free: 9.926 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001684/0.9781, allocations: 1.54 MB / 1.069 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002358/0.9784, allocations: 195.2 kB / 1.069 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004361/0.9828, allocations: 3.014 MB / 1.072 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004426/0.9832, allocations: 0.7269 MB / 1.073 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007632/0.984, allocations: 1.116 MB / 1.074 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003325/0.9873, allocations: 3.836 MB / 1.078 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.9873, allocations: 0 / 1.078 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9873, allocations: 0 / 1.078 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.711e-05/0.9874, allocations: 0 / 1.078 GB, free: 2.547 MB / 0.7169 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.00285/0.9902, allocations: 2.423 MB / 1.08 GB, free: 84 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.9903, allocations: 15.78 kB / 1.08 GB, free: 72 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004385/0.9946, allocations: 0.6449 MB / 1.081 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001985/0.9966, allocations: 1.399 MB / 1.082 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.293e-05/0.9967, allocations: 102.5 kB / 1.082 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002048/0.9969, allocations: 132 kB / 1.082 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002402/0.9993, allocations: 1.573 MB / 1.084 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/0.9994, allocations: 6.531 kB / 1.084 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.9995, allocations: 56 kB / 1.084 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-05/0.9996, allocations: 46.45 kB / 1.084 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/1.002, allocations: 1.273 MB / 1.085 GB, free: 10.79 MB / 0.7325 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.007842/1.009, allocations: 7.207 MB / 1.092 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/1.011, allocations: 0.6428 MB / 1.093 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005314/1.011, allocations: 370.1 kB / 1.093 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001856/1.011, allocations: 104 kB / 1.093 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/1.011, allocations: 49.75 kB / 1.093 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000413/1.012, allocations: 106.3 kB / 1.093 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=67): time 2.314e-06/1.012, allocations: 4 kB / 1.093 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67): time 0.001782/1.014, allocations: 1.011 MB / 1.094 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/1.014, allocations: 59.97 kB / 1.094 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/1.015, allocations: 1.343 MB / 1.096 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.427e-05/1.015, allocations: 45.7 kB / 1.096 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005351/1.016, allocations: 0.7726 MB / 1.097 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/1.016, allocations: 238.4 kB / 1.097 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002881/1.016, allocations: 202.4 kB / 1.097 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.016, allocations: 349.9 kB / 1.097 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005328/1.017, allocations: 360.7 kB / 1.098 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007562/1.018, allocations: 0.6803 MB / 1.098 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/1.019, allocations: 0.9489 MB / 1.099 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/1.019, allocations: 6.734 kB / 1.099 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001654/1.021, allocations: 1.15 MB / 1.1 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/1.021, allocations: 8 kB / 1.1 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/1.021, allocations: 8 kB / 1.1 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/1.021, allocations: 12 kB / 1.1 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008628/1.021, allocations: 215.8 kB / 1.101 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/1.021, allocations: 11.16 kB / 1.101 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/1.023, allocations: 55.09 kB / 1.101 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-05/1.023, allocations: 47.28 kB / 1.101 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009467/1.024, allocations: 0.6854 MB / 1.101 GB, free: 9.496 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007614/1.024, allocations: 0.6741 MB / 1.102 GB, free: 8.688 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001181/1.026, allocations: 0.9506 MB / 1.103 GB, free: 7.672 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.298e-06/1.026, allocations: 4 kB / 1.103 GB, free: 7.668 MB / 0.7481 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001632/1.027, allocations: 1.145 MB / 1.104 GB, free: 6.555 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/1.027, allocations: 8.906 kB / 1.104 GB, free: 6.547 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.027, allocations: 11.94 kB / 1.104 GB, free: 6.535 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/1.027, allocations: 16 kB / 1.104 GB, free: 6.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008344/1.028, allocations: 212.7 kB / 1.104 GB, free: 6.324 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/1.028, allocations: 16.2 kB / 1.104 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/1.029, allocations: 55.88 kB / 1.104 GB, free: 6.258 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.429e-05/1.03, allocations: 43.98 kB / 1.104 GB, free: 6.215 MB / 0.7481 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.0001961/1.03, allocations: 241.6 kB / 1.105 GB, free: 5.984 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/1.03, allocations: 154.2 kB / 1.105 GB, free: 5.832 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/1.031, allocations: 0.8229 MB / 1.106 GB, free: 4.996 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009455/1.032, allocations: 0.7856 MB / 1.106 GB, free: 4.164 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/1.032, allocations: 0 / 1.106 GB, free: 4.164 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004202/1.033, allocations: 319.1 kB / 1.107 GB, free: 3.832 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/1.033, allocations: 19.94 kB / 1.107 GB, free: 3.812 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008762/1.034, allocations: 39.83 kB / 1.107 GB, free: 3.777 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.881e-05/1.034, allocations: 36.61 kB / 1.107 GB, free: 3.742 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001692/1.036, allocations: 0.8782 MB / 1.108 GB, free: 2.867 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001649/1.037, allocations: 1.339 MB / 1.109 GB, free: 1.508 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004268/1.038, allocations: 341.1 kB / 1.109 GB, free: 1.176 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001083/1.039, allocations: 0.9044 MB / 1.11 GB, free: 280 kB / 0.7481 GB Notification: Performance of Backend: time 4.81e-07/1.039, allocations: 0 / 1.11 GB, free: 280 kB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003345/1.042, allocations: 1.766 MB / 1.112 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of SimCode: time 0.006005/1.048, allocations: 3.801 MB / 1.116 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of Templates: time 0.05406/1.102, allocations: 38.9 MB / 1.154 GB, free: 4.414 MB / 0.795 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)