Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 109.4 kB / 15.99 MB, free: 6.344 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.001202/0.001202, allocations: 196.2 kB / 16.91 MB, free: 6.176 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.216/1.216, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002075/0.002075, allocations: 290.4 kB / 291 MB, free: 14.7 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8714/0.8714, allocations: 169.2 MB / 0.4985 GB, free: 4.734 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 96.42 kB / 0.5953 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1561, allocations: 86.97 MB / 0.6803 GB, free: 8.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.4417/0.5979, allocations: 191.3 MB / 0.8671 GB, free: 28 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008059/0.606, allocations: 5.126 MB / 0.8721 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.6071, allocations: 39.69 kB / 0.8721 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001787/0.6089, allocations: 0.735 MB / 0.8728 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005961/0.6149, allocations: 2.452 MB / 0.8752 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002489/0.6174, allocations: 1.007 MB / 0.8762 GB, free: 6.66 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002935/0.6203, allocations: 2.605 MB / 0.8788 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.6214, allocations: 0.9077 MB / 0.8797 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001683/0.6231, allocations: 1.105 MB / 0.8807 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.6242, allocations: 1.023 MB / 0.8817 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.6244, allocations: 80 kB / 0.8818 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002912/0.6273, allocations: 1.851 MB / 0.8836 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003909/0.6277, allocations: 446.6 kB / 0.884 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005815/0.6283, allocations: 0.6526 MB / 0.8847 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001867/0.6301, allocations: 1.555 MB / 0.8862 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.6302, allocations: 0 / 0.8862 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6302, allocations: 0 / 0.8862 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.75e-05/0.6302, allocations: 0 / 0.8862 GB, free: 12.4 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004444/0.6346, allocations: 1.93 MB / 0.8881 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.6347, allocations: 12.02 kB / 0.8881 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004059/0.6388, allocations: 0.7044 MB / 0.8888 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.64, allocations: 0.8903 MB / 0.8897 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.535e-05/0.64, allocations: 69.98 kB / 0.8897 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.6402, allocations: 91.98 kB / 0.8898 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002837/0.643, allocations: 1.461 MB / 0.8912 GB, free: 7.074 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.6431, allocations: 0 / 0.8912 GB, free: 7.074 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.802e-05/0.6432, allocations: 36 kB / 0.8913 GB, free: 7.039 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.057e-05/0.6432, allocations: 53.92 kB / 0.8913 GB, free: 6.988 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003757/0.647, allocations: 1.557 MB / 0.8928 GB, free: 5.426 MB / 0.6544 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.005897/0.6529, allocations: 5.015 MB / 0.8977 GB, free: 152 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003116/0.656, allocations: 1.193 MB / 0.8989 GB, free: 14.95 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/0.6576, allocations: 0.6585 MB / 0.8995 GB, free: 14.29 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/0.6588, allocations: 0.941 MB / 0.9005 GB, free: 13.16 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001719/0.6605, allocations: 0.7302 MB / 0.9012 GB, free: 12.42 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 2.695e-06/0.6605, allocations: 7.875 kB / 0.9012 GB, free: 12.41 MB / 0.67 GB Notification: Performance of matching and sorting (n=82): time 0.00544/0.666, allocations: 1.952 MB / 0.9031 GB, free: 10.45 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.666, allocations: 64.06 kB / 0.9032 GB, free: 10.38 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.6673, allocations: 1.259 MB / 0.9044 GB, free: 9.109 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-05/0.6674, allocations: 41.7 kB / 0.9044 GB, free: 9.062 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000384/0.6678, allocations: 0.5794 MB / 0.905 GB, free: 8.477 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/0.668, allocations: 276 kB / 0.9053 GB, free: 8.203 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002877/0.6683, allocations: 190.5 kB / 0.9054 GB, free: 8.012 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.6684, allocations: 345.9 kB / 0.9058 GB, free: 7.668 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.6699, allocations: 0.5492 MB / 0.9063 GB, free: 7.117 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/0.6715, allocations: 0.8208 MB / 0.9071 GB, free: 6.199 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002971/0.6745, allocations: 1.336 MB / 0.9084 GB, free: 4.77 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.6745, allocations: 0 / 0.9084 GB, free: 4.77 MB / 0.67 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003505/0.678, allocations: 1.523 MB / 0.9099 GB, free: 3.238 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.678, allocations: 8 kB / 0.9099 GB, free: 3.23 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.6781, allocations: 8 kB / 0.9099 GB, free: 3.223 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.6781, allocations: 12 kB / 0.9099 GB, free: 3.211 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.6794, allocations: 291.7 kB / 0.9102 GB, free: 2.93 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.441e-05/0.6794, allocations: 23.92 kB / 0.9102 GB, free: 2.906 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.6807, allocations: 214.7 kB / 0.9104 GB, free: 2.695 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-05/0.6808, allocations: 43.98 kB / 0.9105 GB, free: 2.652 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * 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 prepare postOptimizeDAE: time 0.000471/0.6812, allocations: 343.6 kB / 0.9108 GB, free: 2.309 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/0.6814, allocations: 134.3 kB / 0.9109 GB, free: 2.176 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003574/0.685, allocations: 1.444 MB / 0.9123 GB, free: 0.7227 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.685, allocations: 8 kB / 0.9123 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.6851, allocations: 4 kB / 0.9123 GB, free: 0.7109 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.6851, allocations: 3.984 kB / 0.9124 GB, free: 0.707 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005295/0.6904, allocations: 2.87 MB / 0.9152 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.6904, allocations: 4 kB / 0.9152 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/0.6916, allocations: 227.7 kB / 0.9154 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/0.6916, allocations: 8 kB / 0.9154 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-05/0.6917, allocations: 23.97 kB / 0.9154 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.6917, allocations: 11.94 kB / 0.9154 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.6917, allocations: 8 kB / 0.9154 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005084/0.6968, allocations: 2.311 MB / 0.9177 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004434/0.6973, allocations: 303.1 kB / 0.918 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/0.6975, allocations: 23.98 kB / 0.918 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.6986, allocations: 123.9 kB / 0.9181 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.6987, allocations: 60.42 kB / 0.9182 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.94e-05/0.6988, allocations: 39.97 kB / 0.9182 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009204/0.6997, allocations: 0.8762 MB / 0.9191 GB, free: 9.645 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6997, allocations: 96 / 0.9191 GB, free: 9.645 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009129/0.7007, allocations: 323.6 kB / 0.9194 GB, free: 9.328 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001204/0.7019, allocations: 0.5276 MB / 0.9199 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003721/0.7056, allocations: 1.433 MB / 0.9213 GB, free: 7.539 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.7056, allocations: 0 / 0.9213 GB, free: 7.539 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001635/0.7073, allocations: 0.6638 MB / 0.9219 GB, free: 6.879 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002614/0.7099, allocations: 0.6225 MB / 0.9225 GB, free: 6.27 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004982/0.7149, allocations: 3.047 MB / 0.9255 GB, free: 3.137 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009109/0.7158, allocations: 1.169 MB / 0.9267 GB, free: 1.938 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005419/0.7164, allocations: 131.4 kB / 0.9268 GB, free: 1.809 MB / 0.6856 GB Notification: Performance of SimCode: time 8.02e-07/0.7164, allocations: 0 / 0.9268 GB, free: 1.809 MB / 0.6856 GB Notification: Performance of Templates: time 0.02862/0.745, allocations: 20.88 MB / 0.9472 GB, free: 13.12 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)