Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_9_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.005669/0.005669, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001199/0.001199, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.196/2.196, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.89 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7753/0.7766, allocations: 140.4 MB / 1.087 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2135/0.9901, allocations: 193.8 MB / 1.277 GB, free: 11.88 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00934/0.9995, allocations: 5.154 MB / 1.282 GB, free: 6.715 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/1.001, allocations: 47.69 kB / 1.282 GB, free: 6.668 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002318/1.004, allocations: 0.8081 MB / 1.283 GB, free: 5.855 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006948/1.011, allocations: 2.602 MB / 1.285 GB, free: 3.242 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003287/1.014, allocations: 1.11 MB / 1.286 GB, free: 2.141 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003541/1.018, allocations: 2.606 MB / 1.289 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001557/1.019, allocations: 0.8922 MB / 1.29 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002144/1.021, allocations: 1.082 MB / 1.291 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001544/1.023, allocations: 0.9534 MB / 1.292 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002613/1.023, allocations: 80 kB / 1.292 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003529/1.027, allocations: 1.785 MB / 1.293 GB, free: 10.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006149/1.027, allocations: 442.5 kB / 1.294 GB, free: 10.28 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001229/1.029, allocations: 0.6487 MB / 1.295 GB, free: 9.625 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003926/1.032, allocations: 2.173 MB / 1.297 GB, free: 7.445 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.032, allocations: 0 / 1.297 GB, free: 7.445 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.184e-06/1.032, allocations: 0 / 1.297 GB, free: 7.445 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.034e-05/1.033, allocations: 0 / 1.297 GB, free: 7.445 MB / 1.029 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.005439/1.038, allocations: 1.922 MB / 1.299 GB, free: 5.469 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/1.038, allocations: 12.03 kB / 1.299 GB, free: 5.457 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001858/1.038, allocations: 139.5 kB / 1.299 GB, free: 5.312 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004547/1.043, allocations: 0.7005 MB / 1.299 GB, free: 4.609 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001891/1.045, allocations: 0.9604 MB / 1.3 GB, free: 3.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.227e-05/1.045, allocations: 65.98 kB / 1.3 GB, free: 3.527 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002088/1.045, allocations: 91.98 kB / 1.3 GB, free: 3.438 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003295/1.048, allocations: 1.469 MB / 1.302 GB, free: 1.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/1.048, allocations: 0 / 1.302 GB, free: 1.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/1.048, allocations: 35.94 kB / 1.302 GB, free: 1.875 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-05/1.049, allocations: 49.98 kB / 1.302 GB, free: 1.828 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004284/1.053, allocations: 1.565 MB / 1.304 GB, free: 264 kB / 1.029 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.006835/1.06, allocations: 5.011 MB / 1.308 GB, free: 10.98 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003456/1.063, allocations: 1.184 MB / 1.31 GB, free: 9.789 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001776/1.065, allocations: 0.6601 MB / 1.31 GB, free: 9.129 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001247/1.066, allocations: 0.941 MB / 1.311 GB, free: 8.004 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001929/1.068, allocations: 0.7302 MB / 1.312 GB, free: 7.258 MB / 1.045 GB Notification: Performance of pre-optimization done (n=82): time 3.136e-06/1.068, allocations: 0 / 1.312 GB, free: 7.258 MB / 1.045 GB Notification: Performance of matching and sorting (n=82): time 0.006134/1.074, allocations: 1.952 MB / 1.314 GB, free: 5.301 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/1.074, allocations: 60.06 kB / 1.314 GB, free: 5.23 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/1.076, allocations: 1.272 MB / 1.315 GB, free: 3.953 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/1.076, allocations: 45.7 kB / 1.315 GB, free: 3.902 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004498/1.076, allocations: 0.5716 MB / 1.316 GB, free: 3.324 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002482/1.077, allocations: 272.1 kB / 1.316 GB, free: 3.055 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003098/1.077, allocations: 186.4 kB / 1.316 GB, free: 2.863 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001143/1.077, allocations: 349.9 kB / 1.316 GB, free: 2.516 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001725/1.079, allocations: 0.5484 MB / 1.317 GB, free: 1.969 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001905/1.081, allocations: 0.8247 MB / 1.318 GB, free: 1.039 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003499/1.084, allocations: 1.34 MB / 1.319 GB, free: 15.6 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.343e-06/1.084, allocations: 4 kB / 1.319 GB, free: 15.6 MB / 1.061 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004118/1.088, allocations: 1.507 MB / 1.321 GB, free: 14.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/1.088, allocations: 8 kB / 1.321 GB, free: 14.08 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/1.088, allocations: 15.97 kB / 1.321 GB, free: 14.06 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/1.088, allocations: 12 kB / 1.321 GB, free: 14.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/1.09, allocations: 287.6 kB / 1.321 GB, free: 13.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.252e-05/1.09, allocations: 19.92 kB / 1.321 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/1.091, allocations: 210.6 kB / 1.321 GB, free: 13.54 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/1.092, allocations: 43.98 kB / 1.321 GB, free: 13.5 MB / 1.061 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.000529/1.092, allocations: 339.7 kB / 1.321 GB, free: 13.16 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002492/1.092, allocations: 134.3 kB / 1.322 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004106/1.096, allocations: 1.448 MB / 1.323 GB, free: 11.56 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/1.096, allocations: 8 kB / 1.323 GB, free: 11.55 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/1.096, allocations: 0 / 1.323 GB, free: 11.55 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/1.096, allocations: 7.922 kB / 1.323 GB, free: 11.55 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006049/1.103, allocations: 2.858 MB / 1.326 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/1.103, allocations: 4 kB / 1.326 GB, free: 8.578 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/1.104, allocations: 228 kB / 1.326 GB, free: 8.355 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.501e-05/1.104, allocations: 4 kB / 1.326 GB, free: 8.352 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/1.104, allocations: 39.97 kB / 1.326 GB, free: 8.312 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.458e-05/1.104, allocations: 11.94 kB / 1.326 GB, free: 8.301 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.104, allocations: 4.094 kB / 1.326 GB, free: 8.297 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005993/1.11, allocations: 2.314 MB / 1.328 GB, free: 5.918 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006234/1.111, allocations: 303.2 kB / 1.329 GB, free: 5.602 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000289/1.111, allocations: 24 kB / 1.329 GB, free: 5.578 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/1.112, allocations: 99.88 kB / 1.329 GB, free: 5.48 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/1.113, allocations: 72.36 kB / 1.329 GB, free: 5.406 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.685e-05/1.113, allocations: 35.97 kB / 1.329 GB, free: 5.371 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001406/1.114, allocations: 0.8762 MB / 1.33 GB, free: 4.492 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.7e-07/1.114, allocations: 0 / 1.33 GB, free: 4.492 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001323/1.115, allocations: 307.7 kB / 1.33 GB, free: 4.191 MB / 1.061 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.007557/1.123, allocations: 3.299 MB / 1.333 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003934/1.127, allocations: 1.312 MB / 1.334 GB, free: 15.67 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.127, allocations: 0 / 1.334 GB, free: 15.67 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001939/1.129, allocations: 0.6599 MB / 1.335 GB, free: 15.01 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002934/1.132, allocations: 0.6168 MB / 1.336 GB, free: 14.4 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02113/1.153, allocations: 11.12 MB / 1.347 GB, free: 2.891 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009219/1.154, allocations: 1.171 MB / 1.348 GB, free: 1.684 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001342/1.155, allocations: 342.2 kB / 1.348 GB, free: 1.348 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007982/1.156, allocations: 0.4953 MB / 1.349 GB, free: 0.8516 MB / 1.076 GB Notification: Performance of SimCode: time 8.41e-07/1.156, allocations: 0 / 1.349 GB, free: 0.8516 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06281/1.219, allocations: 35 MB / 1.383 GB, free: 14.3 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.69, allocations: 6.156 kB / 1.383 GB, free: 14.3 MB / 1.123 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)