Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7021/0.7021, allocations: 128.7 MB / 144.5 MB, free: 1.352 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 188.8 kB / 174.2 MB, free: 5.922 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205 MB / 408.9 MB, free: 9.699 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009364/0.0009367, allocations: 105.8 kB / 485.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 60.38 kB / 0.558 GB, free: 97.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1349, allocations: 75.48 MB / 0.6317 GB, free: 32.99 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.5616/0.6965, allocations: 273.1 MB / 0.8984 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.02556/0.7222, allocations: 17.73 MB / 0.9157 GB, free: 7.305 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003545/0.7258, allocations: 55.69 kB / 0.9157 GB, free: 7.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003283/0.7291, allocations: 1.046 MB / 0.9168 GB, free: 6.199 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.008691/0.7379, allocations: 3.016 MB / 0.9197 GB, free: 3.172 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00598/0.7439, allocations: 2.125 MB / 0.9218 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.008847/0.7527, allocations: 7.302 MB / 0.9289 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002195/0.7549, allocations: 1.503 MB / 0.9304 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00495/0.7599, allocations: 2.285 MB / 0.9326 GB, free: 5.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003566/0.7635, allocations: 1.69 MB / 0.9343 GB, free: 4.223 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000269/0.7638, allocations: 104 kB / 0.9344 GB, free: 4.121 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005722/0.7695, allocations: 3.215 MB / 0.9375 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0007587/0.7703, allocations: 0.6815 MB / 0.9382 GB, free: 220 kB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001367/0.7716, allocations: 1.077 MB / 0.9392 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00577/0.7774, allocations: 4.218 MB / 0.9433 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.7774, allocations: 3.938 kB / 0.9433 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.143e-06/0.7775, allocations: 0 / 0.9433 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.904e-05/0.7775, allocations: 0 / 0.9433 GB, free: 10.89 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.004408/0.7819, allocations: 2.555 MB / 0.9458 GB, free: 8.262 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.782, allocations: 12.02 kB / 0.9458 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00398/0.7859, allocations: 0.6378 MB / 0.9465 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0023/0.7883, allocations: 1.357 MB / 0.9478 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.478e-05/0.7884, allocations: 110.7 kB / 0.9479 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002387/0.7886, allocations: 143.9 kB / 0.948 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003264/0.7919, allocations: 1.771 MB / 0.9498 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/0.7919, allocations: 3.938 kB / 0.9498 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/0.7921, allocations: 60 kB / 0.9498 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.319e-05/0.7921, allocations: 58.56 kB / 0.9499 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002869/0.795, allocations: 1.447 MB / 0.9513 GB, free: 2.535 MB / 0.6355 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.008944/0.804, allocations: 7.456 MB / 0.9586 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.8058, allocations: 0.81 MB / 0.9594 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005277/0.8063, allocations: 366.4 kB / 0.9597 GB, free: 9.324 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.119e-05/0.8064, allocations: 12.88 kB / 0.9597 GB, free: 9.309 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.8065, allocations: 55.05 kB / 0.9598 GB, free: 9.246 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007412/0.8072, allocations: 154.9 kB / 0.9599 GB, free: 9.094 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=66): time 2.956e-06/0.8072, allocations: 0 / 0.9599 GB, free: 9.094 MB / 0.6511 GB Notification: Performance of matching and sorting (n=66): time 0.00309/0.8103, allocations: 1.212 MB / 0.9611 GB, free: 7.875 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.8104, allocations: 59.97 kB / 0.9612 GB, free: 7.805 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.812, allocations: 1.399 MB / 0.9625 GB, free: 6.395 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.192e-05/0.8121, allocations: 45.7 kB / 0.9626 GB, free: 6.344 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005996/0.8127, allocations: 0.8044 MB / 0.9634 GB, free: 5.531 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/0.813, allocations: 240.6 kB / 0.9636 GB, free: 5.293 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003341/0.8133, allocations: 214.8 kB / 0.9638 GB, free: 5.078 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.8134, allocations: 349.9 kB / 0.9641 GB, free: 4.73 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007857/0.8142, allocations: 429.7 kB / 0.9645 GB, free: 4.305 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009787/0.8152, allocations: 0.7242 MB / 0.9652 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/0.8169, allocations: 1.132 MB / 0.9664 GB, free: 2.199 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.8169, allocations: 4 kB / 0.9664 GB, free: 2.195 MB / 0.6511 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.00239/0.8193, allocations: 1.359 MB / 0.9677 GB, free: 0.8125 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.197e-05/0.8194, allocations: 67.39 kB / 0.9677 GB, free: 0.7344 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.8194, allocations: 4 kB / 0.9678 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.8195, allocations: 16 kB / 0.9678 GB, free: 0.7148 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.8205, allocations: 235.6 kB / 0.968 GB, free: 496 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.005e-05/0.8205, allocations: 23.92 kB / 0.968 GB, free: 472 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/0.8223, allocations: 147.7 kB / 0.9682 GB, free: 324 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.595e-05/0.8224, allocations: 47.98 kB / 0.9682 GB, free: 276 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001188/0.8236, allocations: 0.7367 MB / 0.9689 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000858/0.8244, allocations: 0.6977 MB / 0.9696 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001446/0.8259, allocations: 1.069 MB / 0.9706 GB, free: 13.51 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.017e-06/0.8259, allocations: 0 / 0.9706 GB, free: 13.51 MB / 0.6667 GB Notification: Performance of matching and sorting (n=131) (initialization_lambda0): time 0.002037/0.828, allocations: 1.3 MB / 0.9719 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.134e-05/0.828, allocations: 68.33 kB / 0.972 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.828, allocations: 8 kB / 0.972 GB, free: 12.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.8281, allocations: 12 kB / 0.972 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008821/0.829, allocations: 227.6 kB / 0.9722 GB, free: 11.87 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/0.829, allocations: 16.47 kB / 0.9722 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/0.8306, allocations: 151.6 kB / 0.9724 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.757e-05/0.8307, allocations: 51.89 kB / 0.9724 GB, free: 11.66 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 2 (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 (129): * Single equations (assignments): 125 * Array equations: 2 * Algorithm blocks: 2 * 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.0003354/0.8311, allocations: 243.9 kB / 0.9727 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002412/0.8313, allocations: 158.1 kB / 0.9728 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/0.8332, allocations: 0.8884 MB / 0.9737 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.8332, allocations: 8 kB / 0.9737 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.8332, allocations: 0 / 0.9737 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001348/0.8345, allocations: 0.862 MB / 0.9745 GB, free: 9.434 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00353/0.8381, allocations: 2.253 MB / 0.9767 GB, free: 7.113 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.8381, allocations: 0 / 0.9767 GB, free: 7.113 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009624/0.8391, allocations: 191.8 kB / 0.9769 GB, free: 6.926 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.467e-06/0.8391, allocations: 7.938 kB / 0.9769 GB, free: 6.918 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-05/0.8392, allocations: 16 kB / 0.9769 GB, free: 6.902 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.8392, allocations: 0 / 0.9769 GB, free: 6.902 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.8392, allocations: 16.06 kB / 0.9769 GB, free: 6.887 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01408/0.8533, allocations: 6.691 MB / 0.9835 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007936/0.8541, allocations: 347.1 kB / 0.9838 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/0.8543, allocations: 19.94 kB / 0.9838 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/0.8557, allocations: 119.7 kB / 0.9839 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.8558, allocations: 40.5 kB / 0.984 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/0.8559, allocations: 39.97 kB / 0.984 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001337/0.8573, allocations: 0.9404 MB / 0.9849 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8573, allocations: 0 / 0.9849 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004257/0.8615, allocations: 1.385 MB / 0.9863 GB, free: 13.08 MB / 0.6823 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.000619/0.8622, allocations: 271 kB / 0.9866 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003177/0.8654, allocations: 1.699 MB / 0.9882 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/0.8654, allocations: 384 / 0.9882 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007079/0.8661, allocations: 390.9 kB / 0.9886 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00455/0.8707, allocations: 0.885 MB / 0.9895 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005861/0.8765, allocations: 4.038 MB / 0.9934 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/0.8777, allocations: 1.389 MB / 0.9948 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002069/0.8798, allocations: 448.8 kB / 0.9952 GB, free: 3.871 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004463/0.8803, allocations: 123.4 kB / 0.9953 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of SimCode: time 9.62e-07/0.8803, allocations: 0 / 0.9953 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of Templates: time 0.2859/1.166, allocations: 33.98 MB / 1.028 GB, free: 262.7 MB / 0.6823 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)