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.001442/0.001442, allocations: 104.4 kB / 16.35 MB, free: 5.828 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.001628/0.001628, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002183/0.002183, allocations: 290.9 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9443/0.9443, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001688, allocations: 96.84 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.153, allocations: 86.97 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.4508/0.6038, allocations: 193.8 MB / 0.8709 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01241/0.6162, allocations: 5.147 MB / 0.8759 GB, free: 7.547 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001392/0.6176, allocations: 51.69 kB / 0.8759 GB, free: 7.496 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002303/0.62, allocations: 0.8003 MB / 0.8767 GB, free: 6.691 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008432/0.6284, allocations: 2.602 MB / 0.8793 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003906/0.6323, allocations: 1.107 MB / 0.8803 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004458/0.6368, allocations: 2.602 MB / 0.8829 GB, free: 368 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/0.6385, allocations: 0.8884 MB / 0.8837 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002436/0.641, allocations: 1.082 MB / 0.8848 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.6423, allocations: 0.9612 MB / 0.8857 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.6424, allocations: 80 kB / 0.8858 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003169/0.6456, allocations: 1.781 MB / 0.8876 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00044/0.646, allocations: 434.6 kB / 0.888 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006789/0.6467, allocations: 0.6565 MB / 0.8886 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003059/0.6498, allocations: 2.181 MB / 0.8907 GB, free: 8.27 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.6498, allocations: 0 / 0.8907 GB, free: 8.27 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6498, allocations: 0 / 0.8907 GB, free: 8.27 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.097e-05/0.6499, allocations: 4 kB / 0.8907 GB, free: 8.266 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.004639/0.6545, allocations: 1.934 MB / 0.8926 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.6546, allocations: 8.031 kB / 0.8926 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004162/0.6587, allocations: 0.6966 MB / 0.8933 GB, free: 5.57 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/0.6606, allocations: 0.9605 MB / 0.8943 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.971e-05/0.6606, allocations: 65.98 kB / 0.8943 GB, free: 4.488 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/0.6608, allocations: 88 kB / 0.8944 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003123/0.664, allocations: 1.466 MB / 0.8958 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.664, allocations: 7.984 kB / 0.8958 GB, free: 2.871 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.6641, allocations: 32 kB / 0.8959 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.662e-05/0.6642, allocations: 57.91 kB / 0.8959 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004007/0.6682, allocations: 1.561 MB / 0.8975 GB, free: 1.219 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.006723/0.6749, allocations: 5.018 MB / 0.9024 GB, free: 11.94 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003277/0.6782, allocations: 1.189 MB / 0.9035 GB, free: 10.74 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/0.6799, allocations: 0.6585 MB / 0.9042 GB, free: 10.08 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/0.6811, allocations: 0.941 MB / 0.9051 GB, free: 8.953 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001806/0.6829, allocations: 0.7249 MB / 0.9058 GB, free: 8.219 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 3.096e-06/0.683, allocations: 3.938 kB / 0.9058 GB, free: 8.215 MB / 0.67 GB Notification: Performance of matching and sorting (n=82): time 0.005824/0.6888, allocations: 1.952 MB / 0.9077 GB, free: 6.254 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.6888, allocations: 60.06 kB / 0.9078 GB, free: 6.184 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/0.6904, allocations: 1.264 MB / 0.909 GB, free: 4.914 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.473e-05/0.6905, allocations: 45.7 kB / 0.909 GB, free: 4.863 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004311/0.691, allocations: 0.5755 MB / 0.9096 GB, free: 4.281 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000244/0.6912, allocations: 280 kB / 0.9099 GB, free: 4.004 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003076/0.6915, allocations: 178.5 kB / 0.91 GB, free: 3.824 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.6917, allocations: 345.9 kB / 0.9104 GB, free: 3.48 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/0.6933, allocations: 0.5484 MB / 0.9109 GB, free: 2.93 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/0.695, allocations: 0.8247 MB / 0.9117 GB, free: 2.008 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003182/0.6982, allocations: 1.34 MB / 0.913 GB, free: 0.5742 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.6983, allocations: 4 kB / 0.913 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003859/0.7021, allocations: 1.51 MB / 0.9145 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.7022, allocations: 8.812 kB / 0.9145 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.7022, allocations: 4 kB / 0.9145 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.471e-05/0.7022, allocations: 19.98 kB / 0.9145 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/0.7037, allocations: 295.5 kB / 0.9148 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.872e-05/0.7038, allocations: 15.94 kB / 0.9148 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.7054, allocations: 208.2 kB / 0.915 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.7055, allocations: 51.97 kB / 0.9151 GB, free: 14.46 MB / 0.6856 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.0006453/0.7062, allocations: 335.7 kB / 0.9154 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002848/0.7065, allocations: 134.3 kB / 0.9155 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003799/0.7103, allocations: 1.446 MB / 0.9169 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.647e-06/0.7103, allocations: 12 kB / 0.9169 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.7103, allocations: 0 / 0.9169 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.7103, allocations: 3.984 kB / 0.9169 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005935/0.7163, allocations: 2.866 MB / 0.9197 GB, free: 9.551 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.7163, allocations: 4 kB / 0.9197 GB, free: 9.547 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/0.7176, allocations: 223.9 kB / 0.92 GB, free: 9.328 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/0.7176, allocations: 8 kB / 0.92 GB, free: 9.32 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.622e-05/0.7177, allocations: 31.97 kB / 0.92 GB, free: 9.289 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.201e-05/0.7177, allocations: 11.94 kB / 0.92 GB, free: 9.277 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.7177, allocations: 7.984 kB / 0.92 GB, free: 9.27 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005391/0.7231, allocations: 2.303 MB / 0.9223 GB, free: 6.902 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000613/0.7238, allocations: 303.1 kB / 0.9226 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002314/0.724, allocations: 31.98 kB / 0.9226 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.7252, allocations: 107.9 kB / 0.9227 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.7253, allocations: 72.36 kB / 0.9228 GB, free: 6.379 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.834e-05/0.7254, allocations: 39.91 kB / 0.9228 GB, free: 6.34 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001091/0.7265, allocations: 0.8723 MB / 0.9236 GB, free: 5.465 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7265, allocations: 0 / 0.9236 GB, free: 5.465 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001064/0.7276, allocations: 315.7 kB / 0.924 GB, free: 5.156 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.001247/0.7288, allocations: 0.5395 MB / 0.9245 GB, free: 4.785 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003564/0.7324, allocations: 1.316 MB / 0.9258 GB, free: 3.469 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.7324, allocations: 0 / 0.9258 GB, free: 3.469 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001763/0.7342, allocations: 0.6599 MB / 0.9264 GB, free: 2.812 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/0.7368, allocations: 0.63 MB / 0.927 GB, free: 2.191 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004746/0.7415, allocations: 2.557 MB / 0.9295 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007288/0.7423, allocations: 1.179 MB / 0.9307 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001159/0.7435, allocations: 346.2 kB / 0.931 GB, free: 14 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004007/0.7439, allocations: 115.3 kB / 0.9311 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of SimCode: time 5.61e-07/0.7439, allocations: 0 / 0.9311 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of Templates: time 0.03774/0.7816, allocations: 23.13 MB / 0.9537 GB, free: 7.133 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)