Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.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.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6782/0.6782, allocations: 117.9 MB / 133.9 MB, free: 4.504 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.000993/0.0009932, allocations: 184.1 kB / 161.7 MB, free: 2.719 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.4 MB / 394.8 MB, free: 20.99 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.0007398/0.0007398, allocations: 100.3 kB / 470.1 MB, free: 12.22 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003956/0.0003957, allocations: 12 kB / 0.5423 GB, free: 6.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3351, allocations: 74.53 MB / 0.6151 GB, free: 54.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6643/0.9994, allocations: 349.5 MB / 0.9564 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/0.9997, allocations: 97.19 kB / 0.9565 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.034/4.034, allocations: 0.8963 GB / 1.853 GB, free: 100.8 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.725e-06/4.034, allocations: 3.656 kB / 1.853 GB, free: 100.8 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002847/4.034, allocations: 52.66 kB / 1.853 GB, free: 100.8 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.005879/4.04, allocations: 2.177 MB / 1.855 GB, free: 99.63 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/4.04, allocations: 7.219 kB / 1.855 GB, free: 99.63 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003261/4.043, allocations: 0.613 MB / 1.856 GB, free: 99.54 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004396/4.048, allocations: 1.552 MB / 1.857 GB, free: 99.05 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/4.048, allocations: 85.7 kB / 1.857 GB, free: 99.05 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004569/4.048, allocations: 114.3 kB / 1.857 GB, free: 99.05 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004081/4.052, allocations: 1.47 MB / 1.859 GB, free: 98.86 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.549e-05/4.052, allocations: 0 / 1.859 GB, free: 98.86 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/4.052, allocations: 38.78 kB / 1.859 GB, free: 98.86 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/4.053, allocations: 24.47 kB / 1.859 GB, free: 98.86 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003885/4.056, allocations: 1.368 MB / 1.86 GB, free: 98.84 MB / 0.6511 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.008472/4.065, allocations: 6.271 MB / 1.866 GB, free: 95.18 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003302/4.068, allocations: 1.341 MB / 1.868 GB, free: 95.14 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/4.07, allocations: 0.6647 MB / 1.868 GB, free: 95.13 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001361/4.071, allocations: 2.258 MB / 1.87 GB, free: 92.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002221/4.073, allocations: 0.9296 MB / 1.871 GB, free: 92.45 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=95): time 4.428e-06/4.073, allocations: 0 / 1.871 GB, free: 92.45 MB / 0.6511 GB Notification: Performance of matching and sorting (n=95): time 0.006266/4.08, allocations: 2.413 MB / 1.874 GB, free: 92.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/4.08, allocations: 147.1 kB / 1.874 GB, free: 92.05 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/4.082, allocations: 1.228 MB / 1.875 GB, free: 91.89 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001543/4.082, allocations: 48.27 kB / 1.875 GB, free: 91.86 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006358/4.083, allocations: 0.7152 MB / 1.876 GB, free: 91.62 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003014/4.083, allocations: 311.8 kB / 1.876 GB, free: 91.43 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.724e-05/4.083, allocations: 20.06 kB / 1.876 GB, free: 91.43 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.296e-05/4.083, allocations: 343.9 kB / 1.876 GB, free: 91.12 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/4.085, allocations: 0.6163 MB / 1.877 GB, free: 91.12 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001615/4.086, allocations: 0.8819 MB / 1.878 GB, free: 90.84 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003065/4.089, allocations: 1.543 MB / 1.879 GB, free: 90.47 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/4.089, allocations: 3.906 kB / 1.879 GB, free: 90.47 MB / 0.6511 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004405/4.094, allocations: 1.867 MB / 1.881 GB, free: 90.21 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001944/4.094, allocations: 310.6 kB / 1.882 GB, free: 89.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/4.094, allocations: 2.875 kB / 1.882 GB, free: 89.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.866e-05/4.094, allocations: 11.91 kB / 1.882 GB, free: 89.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/4.095, allocations: 287.7 kB / 1.882 GB, free: 89.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.139e-05/4.095, allocations: 18.41 kB / 1.882 GB, free: 89.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/4.097, allocations: 252.4 kB / 1.882 GB, free: 89.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002048/4.097, allocations: 62.73 kB / 1.882 GB, free: 89.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/4.097, allocations: 4.469 kB / 1.882 GB, free: 89.82 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00358/4.101, allocations: 1.702 MB / 1.884 GB, free: 89.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/4.101, allocations: 6.344 kB / 1.884 GB, free: 89.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/4.101, allocations: 9.656 kB / 1.884 GB, free: 89.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/4.102, allocations: 282.5 kB / 1.884 GB, free: 89.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.249e-05/4.102, allocations: 14.69 kB / 1.884 GB, free: 89.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/4.104, allocations: 225.4 kB / 1.884 GB, free: 89.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/4.104, allocations: 67.06 kB / 1.884 GB, free: 89.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000952/4.105, allocations: 0.4957 MB / 1.885 GB, free: 89.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004655/4.106, allocations: 161.2 kB / 1.885 GB, free: 89.21 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005387/4.111, allocations: 2.45 MB / 1.887 GB, free: 88.94 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-05/4.111, allocations: 17.61 kB / 1.887 GB, free: 88.94 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/4.111, allocations: 0 / 1.887 GB, free: 88.94 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/4.111, allocations: 3.328 kB / 1.887 GB, free: 88.94 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002741/4.114, allocations: 1.393 MB / 1.889 GB, free: 88.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/4.114, allocations: 0 / 1.889 GB, free: 88.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/4.115, allocations: 236.1 kB / 1.889 GB, free: 88.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.876e-05/4.115, allocations: 3.219 kB / 1.889 GB, free: 88.66 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/4.115, allocations: 40.19 kB / 1.889 GB, free: 88.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/4.115, allocations: 3.5 kB / 1.889 GB, free: 88.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/4.115, allocations: 3.938 kB / 1.889 GB, free: 88.66 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006312/4.122, allocations: 3.089 MB / 1.892 GB, free: 88.32 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007216/4.122, allocations: 245.5 kB / 1.892 GB, free: 88.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004907/4.123, allocations: 24.81 kB / 1.892 GB, free: 88.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001526/4.124, allocations: 183.1 kB / 1.893 GB, free: 88.11 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/4.125, allocations: 73.78 kB / 1.893 GB, free: 88.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/4.125, allocations: 58.72 kB / 1.893 GB, free: 88.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001555/4.126, allocations: 0.8361 MB / 1.893 GB, free: 87.99 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.71e-07/4.126, allocations: 0 / 1.893 GB, free: 87.99 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003026/4.129, allocations: 0.9154 MB / 1.894 GB, free: 87.88 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002024/4.131, allocations: 0.9919 MB / 1.895 GB, free: 87.56 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005402/4.137, allocations: 2.783 MB / 1.898 GB, free: 86.78 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/4.137, allocations: 0 / 1.898 GB, free: 86.78 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001849/4.139, allocations: 1.082 MB / 1.899 GB, free: 86.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003313/4.142, allocations: 0.6278 MB / 1.9 GB, free: 86.15 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005815/4.148, allocations: 3.719 MB / 1.903 GB, free: 83.89 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008492/4.149, allocations: 1.274 MB / 1.905 GB, free: 82.79 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001955/4.151, allocations: 416.2 kB / 1.905 GB, free: 82.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004318/4.151, allocations: 141.4 kB / 1.905 GB, free: 82.4 MB / 0.6511 GB Notification: Performance of SimCode: time 7.71e-07/4.151, allocations: 0 / 1.905 GB, free: 82.4 MB / 0.6511 GB Notification: Performance of Templates: time 0.05346/4.205, allocations: 35.68 MB / 1.94 GB, free: 50.36 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)