Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.002133/0.002133, allocations: 115.3 kB / 15.34 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.002282/0.002283, allocations: 191.1 kB / 16.25 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.276/3.276, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 6.226/6.226, allocations: 461.9 MB / 0.7344 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002639/0.002639, allocations: 72.16 kB / 0.8987 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8704/0.873, allocations: 157.4 MB / 1.052 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.409/1.282, allocations: 191.3 MB / 1.239 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01606/1.298, allocations: 5.133 MB / 1.244 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003493/1.302, allocations: 47.69 kB / 1.244 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004256/1.306, allocations: 0.7272 MB / 1.245 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01362/1.32, allocations: 2.451 MB / 1.247 GB, free: 216 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 1.565/2.885, allocations: 0.9964 MB / 1.248 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008104/2.893, allocations: 2.628 MB / 1.251 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00285/2.896, allocations: 0.9014 MB / 1.252 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004361/2.9, allocations: 1.106 MB / 1.253 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003149/2.903, allocations: 1.01 MB / 1.254 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004102/2.904, allocations: 80.88 kB / 1.254 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006633/2.911, allocations: 1.844 MB / 1.256 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001576/2.912, allocations: 446.8 kB / 1.256 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002448/2.915, allocations: 0.6443 MB / 1.257 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01151/2.926, allocations: 2.247 MB / 1.259 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.555e-05/2.926, allocations: 0 / 1.259 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.909e-06/2.926, allocations: 0.875 kB / 1.259 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001411/2.927, allocations: 0 / 1.259 GB, free: 4.188 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.01045/2.937, allocations: 1.927 MB / 1.261 GB, free: 19.25 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.503e-05/2.937, allocations: 8.906 kB / 1.261 GB, free: 19.25 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003125/2.937, allocations: 143.6 kB / 1.261 GB, free: 19.21 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006413/2.944, allocations: 0.6533 MB / 1.262 GB, free: 19.13 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003629/2.948, allocations: 0.8795 MB / 1.263 GB, free: 18.75 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001986/2.948, allocations: 66.3 kB / 1.263 GB, free: 18.75 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000492/2.948, allocations: 93.98 kB / 1.263 GB, free: 18.75 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008344/2.957, allocations: 1.473 MB / 1.264 GB, free: 18.51 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.237e-05/2.957, allocations: 3.844 kB / 1.264 GB, free: 18.51 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002166/2.957, allocations: 40.59 kB / 1.264 GB, free: 18.51 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002333/2.957, allocations: 45.92 kB / 1.264 GB, free: 18.51 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009879/2.967, allocations: 1.522 MB / 1.266 GB, free: 18.5 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.02595/2.993, allocations: 5.474 MB / 1.271 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008782/3.002, allocations: 1.28 MB / 1.272 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003654/3.006, allocations: 0.6548 MB / 1.273 GB, free: 15.51 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001568/3.007, allocations: 0.5791 MB / 1.274 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003708/3.011, allocations: 0.7093 MB / 1.274 GB, free: 14.9 MB / 1.014 GB Notification: Performance of pre-optimization done (n=80): time 5.41e-06/3.011, allocations: 0 / 1.274 GB, free: 14.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=80): time 0.0116/3.023, allocations: 1.881 MB / 1.276 GB, free: 14.77 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/3.023, allocations: 60.16 kB / 1.276 GB, free: 14.71 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004129/3.027, allocations: 1.24 MB / 1.277 GB, free: 14.55 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0005086/3.028, allocations: 44.02 kB / 1.277 GB, free: 14.52 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00097/3.029, allocations: 0.5818 MB / 1.278 GB, free: 14.33 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007759/3.03, allocations: 276.7 kB / 1.278 GB, free: 14.16 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007023/3.03, allocations: 185.4 kB / 1.278 GB, free: 14.14 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0003063/3.031, allocations: 339.9 kB / 1.279 GB, free: 13.84 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003259/3.034, allocations: 0.5353 MB / 1.279 GB, free: 13.84 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003386/3.037, allocations: 0.8259 MB / 1.28 GB, free: 13.55 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00634/3.044, allocations: 1.325 MB / 1.281 GB, free: 13.28 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-05/3.044, allocations: 3.094 kB / 1.281 GB, free: 13.28 MB / 1.014 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.007767/3.051, allocations: 1.495 MB / 1.283 GB, free: 13.16 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.301e-05/3.052, allocations: 9 kB / 1.283 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.04e-05/3.052, allocations: 10.69 kB / 1.283 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.577e-05/3.052, allocations: 14.12 kB / 1.283 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002688/3.054, allocations: 293 kB / 1.283 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.005e-05/3.055, allocations: 21.89 kB / 1.283 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003224/3.058, allocations: 219.3 kB / 1.283 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002506/3.058, allocations: 52.55 kB / 1.283 GB, free: 13.1 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.001356/3.059, allocations: 332.9 kB / 1.284 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006402/3.06, allocations: 137.2 kB / 1.284 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00746/3.068, allocations: 1.41 MB / 1.285 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.443e-05/3.068, allocations: 7.406 kB / 1.285 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.43e-05/3.068, allocations: 4.703 kB / 1.285 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-05/3.068, allocations: 6.656 kB / 1.285 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01232/3.08, allocations: 2.81 MB / 1.288 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.578e-05/3.08, allocations: 3.812 kB / 1.288 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00227/3.082, allocations: 221.4 kB / 1.288 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-05/3.083, allocations: 7.156 kB / 1.288 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001759/3.083, allocations: 36.19 kB / 1.288 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.055e-05/3.083, allocations: 7.25 kB / 1.288 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.258e-05/3.083, allocations: 7.281 kB / 1.288 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01028/3.093, allocations: 2.245 MB / 1.29 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00153/3.095, allocations: 304.1 kB / 1.291 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004626/3.095, allocations: 26.92 kB / 1.291 GB, free: 11.72 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002099/3.097, allocations: 131.4 kB / 1.291 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002525/3.098, allocations: 61.8 kB / 1.291 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001561/3.098, allocations: 40.61 kB / 1.291 GB, free: 11.71 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0023/3.1, allocations: 0.8497 MB / 1.292 GB, free: 11.6 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.81e-07/3.1, allocations: 4 kB / 1.292 GB, free: 11.59 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002681/3.103, allocations: 319.2 kB / 1.292 GB, free: 11.57 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * 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 (80): * Single equations (assignments): 74 * 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.01337/3.116, allocations: 3.222 MB / 1.295 GB, free: 10.55 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00738/3.124, allocations: 1.407 MB / 1.297 GB, free: 10.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.297e-05/3.124, allocations: 0 / 1.297 GB, free: 10.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003068/3.127, allocations: 0.6396 MB / 1.297 GB, free: 10.48 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005267/3.132, allocations: 0.6071 MB / 1.298 GB, free: 10.37 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0413/3.173, allocations: 12.1 MB / 1.31 GB, free: 5.629 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00169/3.175, allocations: 1.172 MB / 1.311 GB, free: 4.914 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00312/3.178, allocations: 347.6 kB / 1.311 GB, free: 4.828 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001291/3.18, allocations: 0.4913 MB / 1.312 GB, free: 4.82 MB / 1.014 GB Notification: Performance of SimCode: time 3.487e-06/3.18, allocations: 0 / 1.312 GB, free: 4.82 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.343/5.522, allocations: 33.28 MB / 1.344 GB, free: 9.785 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004788/5.523, allocations: 270.6 kB / 1.344 GB, free: 9.422 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.258/11.78, allocations: 3.938 kB / 1.344 GB, free: 9.418 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)