Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_latest_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.001186/0.00119, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.657/2.657, allocations: 461.9 MB / 0.7346 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 68.39 kB / 0.8992 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2744, allocations: 157.4 MB / 1.053 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2058/0.4802, allocations: 193.8 MB / 1.242 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008928/0.4891, allocations: 5.151 MB / 1.247 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001661/0.4908, allocations: 51.62 kB / 1.247 GB, free: 476 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.5566/1.047, allocations: 0.8046 MB / 1.248 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006493/1.054, allocations: 2.604 MB / 1.251 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002748/1.057, allocations: 1.102 MB / 1.252 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003671/1.06, allocations: 2.594 MB / 1.254 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/1.062, allocations: 0.8836 MB / 1.255 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/1.064, allocations: 1.079 MB / 1.256 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/1.065, allocations: 0.9567 MB / 1.257 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001616/1.065, allocations: 80.38 kB / 1.257 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003273/1.068, allocations: 1.779 MB / 1.259 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004976/1.069, allocations: 445.5 kB / 1.259 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007593/1.07, allocations: 0.6448 MB / 1.26 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003614/1.073, allocations: 2.137 MB / 1.262 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.073, allocations: 0 / 1.262 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.843e-06/1.073, allocations: 1 kB / 1.262 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.047e-05/1.073, allocations: 0 / 1.262 GB, free: 2.617 MB / 0.9981 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.00543/1.079, allocations: 1.927 MB / 1.264 GB, free: 17.68 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/1.079, allocations: 11.55 kB / 1.264 GB, free: 17.68 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000206/1.079, allocations: 140.9 kB / 1.264 GB, free: 17.64 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004875/1.084, allocations: 0.7066 MB / 1.265 GB, free: 17.56 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002179/1.086, allocations: 0.8843 MB / 1.266 GB, free: 17.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/1.086, allocations: 68.62 kB / 1.266 GB, free: 17.18 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000248/1.087, allocations: 89.16 kB / 1.266 GB, free: 17.18 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003707/1.09, allocations: 1.468 MB / 1.267 GB, free: 16.99 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/1.09, allocations: 4.469 kB / 1.267 GB, free: 16.99 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/1.09, allocations: 39.11 kB / 1.267 GB, free: 16.99 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.943e-05/1.091, allocations: 48.72 kB / 1.267 GB, free: 16.99 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004627/1.095, allocations: 1.554 MB / 1.269 GB, free: 16.98 MB / 1.014 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.00876/1.104, allocations: 5.038 MB / 1.274 GB, free: 14.49 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003348/1.107, allocations: 1.196 MB / 1.275 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001662/1.109, allocations: 0.6602 MB / 1.275 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001381/1.11, allocations: 0.9413 MB / 1.276 GB, free: 13.51 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001874/1.112, allocations: 0.7304 MB / 1.277 GB, free: 13.45 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 3.046e-06/1.112, allocations: 0.8125 kB / 1.277 GB, free: 13.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.00593/1.118, allocations: 1.95 MB / 1.279 GB, free: 13.33 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/1.118, allocations: 64.05 kB / 1.279 GB, free: 13.27 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/1.12, allocations: 1.263 MB / 1.28 GB, free: 13.11 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/1.12, allocations: 45.42 kB / 1.28 GB, free: 13.08 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004205/1.121, allocations: 0.5734 MB / 1.281 GB, free: 12.9 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002439/1.121, allocations: 277.4 kB / 1.281 GB, free: 12.73 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003024/1.121, allocations: 187.5 kB / 1.281 GB, free: 12.71 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.121, allocations: 345.2 kB / 1.282 GB, free: 12.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/1.123, allocations: 0.5508 MB / 1.282 GB, free: 12.4 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001727/1.125, allocations: 0.8206 MB / 1.283 GB, free: 12.12 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003327/1.128, allocations: 1.339 MB / 1.284 GB, free: 11.87 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/1.128, allocations: 2.25 kB / 1.284 GB, free: 11.87 MB / 1.014 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004013/1.132, allocations: 1.519 MB / 1.286 GB, free: 11.76 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/1.132, allocations: 9.219 kB / 1.286 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/1.132, allocations: 7.312 kB / 1.286 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.124e-05/1.132, allocations: 12.5 kB / 1.286 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/1.134, allocations: 296 kB / 1.286 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.292e-05/1.134, allocations: 17.14 kB / 1.286 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/1.135, allocations: 200.8 kB / 1.286 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/1.135, allocations: 50.77 kB / 1.286 GB, free: 11.7 MB / 1.014 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.0006201/1.136, allocations: 340 kB / 1.287 GB, free: 11.58 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002522/1.136, allocations: 136.4 kB / 1.287 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003936/1.14, allocations: 1.45 MB / 1.288 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/1.14, allocations: 8.25 kB / 1.288 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.14, allocations: 0 / 1.288 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/1.14, allocations: 4.188 kB / 1.288 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005925/1.146, allocations: 2.863 MB / 1.291 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/1.146, allocations: 3.906 kB / 1.291 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/1.147, allocations: 229.5 kB / 1.291 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-05/1.147, allocations: 9.156 kB / 1.291 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.847e-05/1.147, allocations: 30.83 kB / 1.291 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/1.147, allocations: 10.53 kB / 1.291 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/1.147, allocations: 6.188 kB / 1.291 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005578/1.153, allocations: 2.31 MB / 1.294 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007151/1.154, allocations: 308.1 kB / 1.294 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002165/1.154, allocations: 24 kB / 1.294 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/1.155, allocations: 111.4 kB / 1.294 GB, free: 10.31 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/1.155, allocations: 65.89 kB / 1.294 GB, free: 10.31 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.46e-05/1.155, allocations: 37.03 kB / 1.294 GB, free: 10.31 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001239/1.157, allocations: 0.8707 MB / 1.295 GB, free: 10.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.082e-06/1.157, allocations: 0 / 1.295 GB, free: 10.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001152/1.158, allocations: 318.4 kB / 1.295 GB, free: 10.18 MB / 1.014 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.007176/1.165, allocations: 3.28 MB / 1.298 GB, free: 9.148 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004355/1.169, allocations: 1.438 MB / 1.3 GB, free: 9.094 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/1.169, allocations: 0 / 1.3 GB, free: 9.094 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001753/1.171, allocations: 0.66 MB / 1.301 GB, free: 9.082 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003561/1.175, allocations: 0.6301 MB / 1.301 GB, free: 8.969 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02205/1.197, allocations: 11.97 MB / 1.313 GB, free: 4.562 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008558/1.198, allocations: 1.172 MB / 1.314 GB, free: 3.848 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001696/1.199, allocations: 348.6 kB / 1.314 GB, free: 3.754 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008165/1.2, allocations: 0.4893 MB / 1.315 GB, free: 3.746 MB / 1.014 GB Notification: Performance of SimCode: time 1.232e-06/1.2, allocations: 0 / 1.315 GB, free: 3.746 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06899/1.269, allocations: 34.64 MB / 1.349 GB, free: 4.605 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.391/9.661, allocations: 6.719 kB / 1.349 GB, free: 4.602 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)