Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",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.005158/0.005158, allocations: 102.4 kB / 15.73 MB, free: 6.012 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.001247/0.001247, allocations: 197.7 kB / 16.68 MB, free: 5.93 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.2/1.2, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.179/2.179, allocations: 437 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 67.84 kB / 1.018 GB, free: 9.844 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5744/0.5758, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1611/0.7369, allocations: 193.8 MB / 1.355 GB, free: 1.219 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.007205/0.7441, allocations: 5.16 MB / 1.36 GB, free: 12.05 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006469/0.7448, allocations: 47.69 kB / 1.361 GB, free: 12 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00142/0.7463, allocations: 0.808 MB / 1.361 GB, free: 11.19 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004588/0.7509, allocations: 2.604 MB / 1.364 GB, free: 8.574 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002017/0.7529, allocations: 1.104 MB / 1.365 GB, free: 7.477 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002146/0.7551, allocations: 2.683 MB / 1.368 GB, free: 4.785 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009418/0.756, allocations: 0.9368 MB / 1.368 GB, free: 3.832 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.7572, allocations: 1.113 MB / 1.37 GB, free: 2.715 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008891/0.7581, allocations: 0.9923 MB / 1.371 GB, free: 1.719 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.7582, allocations: 92 kB / 1.371 GB, free: 1.629 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002255/0.7605, allocations: 1.785 MB / 1.372 GB, free: 15.84 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003293/0.7608, allocations: 450.6 kB / 1.373 GB, free: 15.4 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004983/0.7613, allocations: 0.6682 MB / 1.373 GB, free: 14.73 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002016/0.7634, allocations: 2.204 MB / 1.376 GB, free: 12.52 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.7634, allocations: 0 / 1.376 GB, free: 12.52 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.061e-06/0.7634, allocations: 0 / 1.376 GB, free: 12.52 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.7634, allocations: 0 / 1.376 GB, free: 12.52 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004175/0.7676, allocations: 1.961 MB / 1.378 GB, free: 10.5 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.7676, allocations: 8.922 kB / 1.378 GB, free: 10.49 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001483/0.7678, allocations: 139.5 kB / 1.378 GB, free: 10.35 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005094/0.7729, allocations: 0.8955 MB / 1.379 GB, free: 9.449 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.7743, allocations: 0.9722 MB / 1.379 GB, free: 8.418 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.914e-05/0.7743, allocations: 66 kB / 1.38 GB, free: 8.355 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.7745, allocations: 99.97 kB / 1.38 GB, free: 8.258 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00324/0.7777, allocations: 1.579 MB / 1.381 GB, free: 6.645 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.7778, allocations: 0 / 1.381 GB, free: 6.645 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.7779, allocations: 35.98 kB / 1.381 GB, free: 6.609 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.834e-05/0.7779, allocations: 49.98 kB / 1.381 GB, free: 6.562 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004815/0.7828, allocations: 1.85 MB / 1.383 GB, free: 4.711 MB / 1.107 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.006202/0.789, allocations: 4.734 MB / 1.388 GB, free: 15.74 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004102/0.7931, allocations: 1.561 MB / 1.389 GB, free: 14.17 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002145/0.7952, allocations: 0.8624 MB / 1.39 GB, free: 13.31 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/0.7963, allocations: 0.9491 MB / 1.391 GB, free: 12.18 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002262/0.7986, allocations: 0.9027 MB / 1.392 GB, free: 11.26 MB / 1.123 GB Notification: Performance of pre-optimization done (n=95): time 2.384e-06/0.7986, allocations: 4 kB / 1.392 GB, free: 11.25 MB / 1.123 GB Notification: Performance of matching and sorting (n=95): time 0.007304/0.8059, allocations: 2.458 MB / 1.394 GB, free: 8.789 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.806, allocations: 64.41 kB / 1.394 GB, free: 8.715 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.8072, allocations: 1.193 MB / 1.396 GB, free: 7.512 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 8.932e-05/0.8073, allocations: 49.7 kB / 1.396 GB, free: 7.457 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003703/0.8077, allocations: 0.5447 MB / 1.396 GB, free: 6.906 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000238/0.8079, allocations: 323.4 kB / 1.396 GB, free: 6.586 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003664/0.8083, allocations: 190.6 kB / 1.397 GB, free: 6.391 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.8085, allocations: 341.9 kB / 1.397 GB, free: 6.051 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002102/0.8106, allocations: 0.6927 MB / 1.398 GB, free: 5.359 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002235/0.8129, allocations: 0.9112 MB / 1.398 GB, free: 4.383 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00428/0.8171, allocations: 1.558 MB / 1.4 GB, free: 2.766 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.076e-06/0.8172, allocations: 8 kB / 1.4 GB, free: 2.758 MB / 1.123 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004634/0.8218, allocations: 1.78 MB / 1.402 GB, free: 0.9688 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.8218, allocations: 7.984 kB / 1.402 GB, free: 0.9609 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.8218, allocations: 4.438 kB / 1.402 GB, free: 0.957 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.8219, allocations: 16 kB / 1.402 GB, free: 0.9414 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/0.8235, allocations: 339.4 kB / 1.402 GB, free: 0.6094 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/0.8236, allocations: 8 kB / 1.402 GB, free: 0.6016 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.825, allocations: 238.6 kB / 1.402 GB, free: 376 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.392e-05/0.8251, allocations: 51.97 kB / 1.402 GB, free: 324 kB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0004332/0.8255, allocations: 343.7 kB / 1.403 GB, free: 15.97 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.8257, allocations: 130.4 kB / 1.403 GB, free: 15.84 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004895/0.8306, allocations: 1.803 MB / 1.405 GB, free: 14.03 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.106e-06/0.8306, allocations: 8 kB / 1.405 GB, free: 14.02 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.8306, allocations: 0 / 1.405 GB, free: 14.02 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.8306, allocations: 3.984 kB / 1.405 GB, free: 14.02 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006805/0.8375, allocations: 3.328 MB / 1.408 GB, free: 10.59 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.8375, allocations: 4.5 kB / 1.408 GB, free: 10.59 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/0.839, allocations: 291.5 kB / 1.408 GB, free: 10.3 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/0.8391, allocations: 8 kB / 1.408 GB, free: 10.29 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.508e-05/0.8392, allocations: 35.95 kB / 1.408 GB, free: 10.26 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.8392, allocations: 8 kB / 1.408 GB, free: 10.25 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.8392, allocations: 7.938 kB / 1.408 GB, free: 10.24 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007036/0.8462, allocations: 2.847 MB / 1.411 GB, free: 7.332 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005118/0.8467, allocations: 323.2 kB / 1.411 GB, free: 6.996 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.8469, allocations: 20 kB / 1.411 GB, free: 6.977 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/0.8482, allocations: 155.9 kB / 1.411 GB, free: 6.824 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.8484, allocations: 76.45 kB / 1.412 GB, free: 6.75 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.417e-05/0.8485, allocations: 43.97 kB / 1.412 GB, free: 6.707 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009191/0.8494, allocations: 0.8353 MB / 1.412 GB, free: 5.867 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8494, allocations: 0 / 1.412 GB, free: 5.867 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0008061/0.8502, allocations: 335.6 kB / 1.413 GB, free: 5.539 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (95): * Single equations (assignments): 89 * 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.008199/0.8584, allocations: 3.835 MB / 1.416 GB, free: 1.797 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004439/0.8629, allocations: 1.63 MB / 1.418 GB, free: 172 kB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8629, allocations: 256 / 1.418 GB, free: 172 kB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002244/0.8651, allocations: 0.8397 MB / 1.419 GB, free: 15.32 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002377/0.8675, allocations: 0.6104 MB / 1.419 GB, free: 14.72 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0209/0.8884, allocations: 12.05 MB / 1.431 GB, free: 2.344 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000633/0.8891, allocations: 1.183 MB / 1.432 GB, free: 1.133 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001054/0.8901, allocations: 358 kB / 1.433 GB, free: 0.7812 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006954/0.8908, allocations: 0.5032 MB / 1.433 GB, free: 284 kB / 1.154 GB Notification: Performance of SimCode: time 2.91e-07/0.8908, allocations: 3.938 kB / 1.433 GB, free: 280 kB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.983/2.873, allocations: 35.7 MB / 1.468 GB, free: 12.87 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/14.53, allocations: 4.062 kB / 1.468 GB, free: 12.86 MB / 1.201 GB (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)