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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001254/0.001254, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001412/0.001411, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.378/1.378, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.781/2.781, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001277, allocations: 66.69 kB / 0.8985 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2764, allocations: 157.4 MB / 1.052 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.1866/0.463, allocations: 191.6 MB / 1.239 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008503/0.4716, allocations: 5.188 MB / 1.244 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.473, allocations: 43.69 kB / 1.244 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001999/0.475, allocations: 0.6999 MB / 1.245 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.5511/1.026, allocations: 2.452 MB / 1.247 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002674/1.029, allocations: 0.9988 MB / 1.248 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003665/1.033, allocations: 3.554 MB / 1.252 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/1.034, allocations: 0.8154 MB / 1.253 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001807/1.036, allocations: 0.9933 MB / 1.254 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001422/1.037, allocations: 0.9902 MB / 1.255 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/1.037, allocations: 52 kB / 1.255 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003814/1.041, allocations: 2.074 MB / 1.257 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005935/1.042, allocations: 407.1 kB / 1.257 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007654/1.042, allocations: 0.6239 MB / 1.258 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003756/1.046, allocations: 2.203 MB / 1.26 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.046, allocations: 0 / 1.26 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.42e-07/1.046, allocations: 0 / 1.26 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.842e-05/1.046, allocations: 2.969 kB / 1.26 GB, free: 3.715 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.005437/1.052, allocations: 1.926 MB / 1.262 GB, free: 18.77 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/1.052, allocations: 13.8 kB / 1.262 GB, free: 18.77 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001855/1.052, allocations: 145.3 kB / 1.262 GB, free: 18.73 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004336/1.056, allocations: 0.6607 MB / 1.263 GB, free: 18.63 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/1.058, allocations: 0.8727 MB / 1.263 GB, free: 18.25 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.166e-05/1.058, allocations: 66.03 kB / 1.263 GB, free: 18.25 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/1.058, allocations: 94.36 kB / 1.264 GB, free: 18.24 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003341/1.061, allocations: 1.473 MB / 1.265 GB, free: 17.99 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/1.061, allocations: 4.406 kB / 1.265 GB, free: 17.99 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/1.061, allocations: 41.41 kB / 1.265 GB, free: 17.99 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.848e-05/1.062, allocations: 45.56 kB / 1.265 GB, free: 17.99 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004447/1.066, allocations: 1.523 MB / 1.267 GB, free: 17.95 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.008294/1.074, allocations: 5.47 MB / 1.272 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003698/1.078, allocations: 1.279 MB / 1.273 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/1.08, allocations: 0.6547 MB / 1.274 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008933/1.081, allocations: 0.5822 MB / 1.274 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001897/1.082, allocations: 0.7047 MB / 1.275 GB, free: 14.26 MB / 1.014 GB Notification: Performance of pre-optimization done (n=80): time 3.106e-06/1.082, allocations: 0 / 1.275 GB, free: 14.26 MB / 1.014 GB Notification: Performance of matching and sorting (n=80): time 0.005726/1.088, allocations: 1.885 MB / 1.277 GB, free: 14.1 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/1.088, allocations: 63.72 kB / 1.277 GB, free: 14.03 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/1.09, allocations: 1.234 MB / 1.278 GB, free: 13.88 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/1.09, allocations: 45.98 kB / 1.278 GB, free: 13.84 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003982/1.091, allocations: 0.5821 MB / 1.279 GB, free: 13.65 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002269/1.091, allocations: 277.7 kB / 1.279 GB, free: 13.48 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003133/1.091, allocations: 183.5 kB / 1.279 GB, free: 13.46 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001598/1.091, allocations: 342.3 kB / 1.28 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/1.093, allocations: 0.5377 MB / 1.28 GB, free: 13.14 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/1.095, allocations: 0.8262 MB / 1.281 GB, free: 12.84 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003193/1.098, allocations: 1.325 MB / 1.282 GB, free: 12.52 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/1.098, allocations: 1.938 kB / 1.282 GB, free: 12.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004092/1.102, allocations: 1.495 MB / 1.284 GB, free: 12.38 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/1.102, allocations: 7.312 kB / 1.284 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/1.102, allocations: 12.84 kB / 1.284 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.15e-05/1.102, allocations: 12.94 kB / 1.284 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/1.104, allocations: 295.1 kB / 1.284 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.811e-05/1.104, allocations: 14.81 kB / 1.284 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/1.105, allocations: 219.7 kB / 1.284 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/1.106, allocations: 54.75 kB / 1.284 GB, free: 12.3 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.0007423/1.106, allocations: 340.4 kB / 1.285 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000215/1.107, allocations: 140.6 kB / 1.285 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003753/1.11, allocations: 1.403 MB / 1.286 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-06/1.11, allocations: 13.98 kB / 1.286 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/1.11, allocations: 0 / 1.286 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/1.11, allocations: 7.047 kB / 1.286 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005701/1.116, allocations: 2.814 MB / 1.289 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/1.116, allocations: 7.312 kB / 1.289 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/1.117, allocations: 221.1 kB / 1.289 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/1.117, allocations: 7.938 kB / 1.289 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.671e-05/1.117, allocations: 36.98 kB / 1.289 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/1.117, allocations: 9.062 kB / 1.289 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/1.117, allocations: 5.062 kB / 1.289 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005161/1.123, allocations: 2.245 MB / 1.291 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005316/1.123, allocations: 300.9 kB / 1.292 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/1.123, allocations: 24.97 kB / 1.292 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/1.125, allocations: 134.5 kB / 1.292 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/1.125, allocations: 63.02 kB / 1.292 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.29e-05/1.125, allocations: 40.84 kB / 1.292 GB, free: 10.89 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001001/1.126, allocations: 0.8503 MB / 1.293 GB, free: 10.78 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.8e-07/1.126, allocations: 0 / 1.293 GB, free: 10.78 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001042/1.127, allocations: 319.6 kB / 1.293 GB, free: 10.75 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.006474/1.133, allocations: 3.223 MB / 1.296 GB, free: 9.754 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003393/1.137, allocations: 1.275 MB / 1.297 GB, free: 9.715 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.137, allocations: 0 / 1.297 GB, free: 9.715 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001642/1.138, allocations: 0.6422 MB / 1.298 GB, free: 9.691 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/1.141, allocations: 0.5679 MB / 1.299 GB, free: 9.641 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02021/1.161, allocations: 12.1 MB / 1.31 GB, free: 4.918 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006519/1.162, allocations: 1.172 MB / 1.311 GB, free: 4.203 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001622/1.164, allocations: 348.5 kB / 1.312 GB, free: 4.113 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008263/1.164, allocations: 497.8 kB / 1.312 GB, free: 4.105 MB / 1.014 GB Notification: Performance of SimCode: time 1.082e-06/1.164, allocations: 0 / 1.312 GB, free: 4.105 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05586/1.22, allocations: 32.47 MB / 1.344 GB, free: 8.223 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/1.22, allocations: 259.8 kB / 1.344 GB, free: 7.871 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.677/3.897, allocations: 1.875 kB / 1.344 GB, free: 7.871 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)