Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002184/0.002184, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.47/1.47, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.659/2.659, allocations: 437 MB / 0.7101 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 64.09 kB / 0.8689 GB, free: 5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7805/0.7819, allocations: 151.6 MB / 1.017 GB, free: 2.848 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2029/0.9849, allocations: 191.3 MB / 1.204 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008943/0.9939, allocations: 5.131 MB / 1.209 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001449/0.9954, allocations: 43.69 kB / 1.209 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001871/0.9973, allocations: 0.735 MB / 1.21 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006578/1.004, allocations: 2.451 MB / 1.212 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002853/1.007, allocations: 1.004 MB / 1.213 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003824/1.011, allocations: 2.613 MB / 1.215 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/1.012, allocations: 0.896 MB / 1.216 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002118/1.014, allocations: 1.105 MB / 1.217 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/1.015, allocations: 1.02 MB / 1.218 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001337/1.015, allocations: 80 kB / 1.218 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003419/1.019, allocations: 1.855 MB / 1.22 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005312/1.019, allocations: 454.5 kB / 1.221 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00083/1.02, allocations: 0.6449 MB / 1.221 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004345/1.025, allocations: 2.262 MB / 1.224 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/1.025, allocations: 0 / 1.224 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/1.025, allocations: 0 / 1.224 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.614e-05/1.025, allocations: 0 / 1.224 GB, free: 14.48 MB / 0.9825 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.004745/1.029, allocations: 1.93 MB / 1.225 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/1.03, allocations: 8.031 kB / 1.225 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001621/1.03, allocations: 139.5 kB / 1.226 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004214/1.034, allocations: 0.7083 MB / 1.226 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/1.035, allocations: 0.8941 MB / 1.227 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.965e-05/1.035, allocations: 69.98 kB / 1.227 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/1.035, allocations: 84 kB / 1.227 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002989/1.038, allocations: 1.469 MB / 1.229 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/1.039, allocations: 0 / 1.229 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/1.039, allocations: 36 kB / 1.229 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.666e-05/1.039, allocations: 45.98 kB / 1.229 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00395/1.043, allocations: 1.565 MB / 1.23 GB, free: 7.359 MB / 0.9825 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.007131/1.05, allocations: 5.014 MB / 1.235 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003506/1.053, allocations: 1.186 MB / 1.236 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001703/1.055, allocations: 0.6739 MB / 1.237 GB, free: 220 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001416/1.056, allocations: 0.9371 MB / 1.238 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001918/1.058, allocations: 0.7303 MB / 1.239 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 3.116e-06/1.058, allocations: 0 / 1.239 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.005919/1.064, allocations: 1.956 MB / 1.241 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/1.064, allocations: 68.05 kB / 1.241 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/1.066, allocations: 1.263 MB / 1.242 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.077e-05/1.066, allocations: 45.7 kB / 1.242 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000415/1.066, allocations: 0.5677 MB / 1.242 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002481/1.067, allocations: 284 kB / 1.243 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003021/1.067, allocations: 178.5 kB / 1.243 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.067, allocations: 349.9 kB / 1.243 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001566/1.069, allocations: 0.5406 MB / 1.244 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001767/1.07, allocations: 0.8286 MB / 1.245 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003145/1.074, allocations: 1.336 MB / 1.246 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/1.074, allocations: 4 kB / 1.246 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003701/1.077, allocations: 1.519 MB / 1.247 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/1.077, allocations: 4 kB / 1.247 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/1.077, allocations: 8 kB / 1.247 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/1.077, allocations: 12 kB / 1.247 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/1.079, allocations: 303.9 kB / 1.248 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.069e-05/1.079, allocations: 15.94 kB / 1.248 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/1.08, allocations: 218.6 kB / 1.248 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/1.08, allocations: 51.97 kB / 1.248 GB, free: 4.566 MB / 0.9981 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.0004986/1.081, allocations: 331.7 kB / 1.248 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/1.081, allocations: 134.3 kB / 1.248 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003783/1.085, allocations: 1.448 MB / 1.25 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/1.085, allocations: 8 kB / 1.25 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/1.085, allocations: 0 / 1.25 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/1.085, allocations: 7.922 kB / 1.25 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5875/1.672, allocations: 2.865 MB / 1.253 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/1.672, allocations: 3.844 kB / 1.253 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/1.674, allocations: 227.1 kB / 1.253 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.688e-05/1.674, allocations: 10.72 kB / 1.253 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/1.674, allocations: 29.67 kB / 1.253 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.765e-05/1.674, allocations: 9.297 kB / 1.253 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.169e-05/1.674, allocations: 8.625 kB / 1.253 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006853/1.681, allocations: 2.313 MB / 1.255 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007027/1.682, allocations: 302.3 kB / 1.255 GB, free: 233.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/1.682, allocations: 22.44 kB / 1.255 GB, free: 233 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/1.683, allocations: 124.5 kB / 1.256 GB, free: 233 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002069/1.683, allocations: 65.33 kB / 1.256 GB, free: 233 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/1.683, allocations: 39.47 kB / 1.256 GB, free: 233 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001523/1.685, allocations: 0.8752 MB / 1.257 GB, free: 232.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.685, allocations: 0 / 1.257 GB, free: 232.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00124/1.686, allocations: 310.4 kB / 1.257 GB, free: 232.7 MB / 0.9981 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.007841/1.694, allocations: 3.279 MB / 1.26 GB, free: 231.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004772/1.699, allocations: 1.433 MB / 1.261 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.895e-05/1.699, allocations: 7.969 kB / 1.261 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002267/1.701, allocations: 0.6565 MB / 1.262 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003524/1.705, allocations: 0.6344 MB / 1.263 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02382/1.729, allocations: 12.29 MB / 1.275 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008849/1.73, allocations: 1.172 MB / 1.276 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001984/1.732, allocations: 350.7 kB / 1.276 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007551/1.732, allocations: 0.4929 MB / 1.277 GB, free: 222.7 MB / 0.9981 GB Notification: Performance of SimCode: time 8.52e-07/1.732, allocations: 0 / 1.277 GB, free: 222.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05184/1.784, allocations: 34.31 MB / 1.31 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001561/1.784, allocations: 271.1 kB / 1.31 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.67/4.454, allocations: 0 / 1.31 GB, free: 193.5 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)