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.001766/0.001766, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002412/0.002412, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.459/1.459, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.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.725/2.725, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 63.91 kB / 0.8689 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7991/0.8003, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2096/1.01, allocations: 191.3 MB / 1.204 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009818/1.02, allocations: 5.15 MB / 1.209 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001967/1.022, allocations: 39.69 kB / 1.209 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002237/1.024, allocations: 0.735 MB / 1.21 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007112/1.031, allocations: 2.44 MB / 1.212 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002894/1.034, allocations: 1.008 MB / 1.213 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003883/1.038, allocations: 2.695 MB / 1.216 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/1.04, allocations: 0.9483 MB / 1.216 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00239/1.042, allocations: 1.136 MB / 1.218 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/1.044, allocations: 1.051 MB / 1.219 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000167/1.044, allocations: 92 kB / 1.219 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004126/1.048, allocations: 1.859 MB / 1.22 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007011/1.049, allocations: 454.6 kB / 1.221 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001132/1.05, allocations: 0.6604 MB / 1.222 GB, free: 388 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004119/1.054, allocations: 2.298 MB / 1.224 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.054, allocations: 0 / 1.224 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.684e-06/1.054, allocations: 4 kB / 1.224 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.543e-05/1.054, allocations: 0 / 1.224 GB, free: 14.07 MB / 0.9825 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.004873/1.059, allocations: 1.965 MB / 1.226 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/1.059, allocations: 8.031 kB / 1.226 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001719/1.059, allocations: 139.6 kB / 1.226 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005561/1.065, allocations: 0.8994 MB / 1.227 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/1.066, allocations: 0.9098 MB / 1.228 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.966e-05/1.066, allocations: 69.98 kB / 1.228 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/1.066, allocations: 88 kB / 1.228 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003661/1.07, allocations: 1.587 MB / 1.229 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/1.07, allocations: 7.938 kB / 1.229 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/1.07, allocations: 32 kB / 1.229 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.799e-05/1.07, allocations: 49.98 kB / 1.229 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005166/1.075, allocations: 1.85 MB / 1.231 GB, free: 6.316 MB / 0.9825 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.007559/1.083, allocations: 4.73 MB / 1.236 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004247/1.087, allocations: 1.563 MB / 1.237 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002241/1.09, allocations: 0.8468 MB / 1.238 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001304/1.091, allocations: 0.953 MB / 1.239 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002439/1.093, allocations: 0.9189 MB / 1.24 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=95): time 2.956e-06/1.093, allocations: 0 / 1.24 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95): time 0.007785/1.101, allocations: 2.446 MB / 1.242 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/1.101, allocations: 60.41 kB / 1.242 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/1.103, allocations: 1.197 MB / 1.244 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001337/1.103, allocations: 45.7 kB / 1.244 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004313/1.103, allocations: 0.5448 MB / 1.244 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002973/1.104, allocations: 331.3 kB / 1.245 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003425/1.104, allocations: 190.5 kB / 1.245 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001339/1.104, allocations: 345.9 kB / 1.245 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002145/1.106, allocations: 0.6927 MB / 1.246 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002331/1.108, allocations: 0.9082 MB / 1.247 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004297/1.113, allocations: 1.558 MB / 1.248 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/1.113, allocations: 4 kB / 1.248 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.0056/1.118, allocations: 1.78 MB / 1.25 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/1.119, allocations: 10.34 kB / 1.25 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/1.119, allocations: 8 kB / 1.25 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.312e-05/1.119, allocations: 8 kB / 1.25 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/1.12, allocations: 339.5 kB / 1.25 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.46e-05/1.121, allocations: 15.92 kB / 1.25 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/1.123, allocations: 254.7 kB / 1.25 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/1.123, allocations: 43.98 kB / 1.251 GB, free: 1.922 MB / 0.9981 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.0008567/1.124, allocations: 339.7 kB / 1.251 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004887/1.124, allocations: 134.3 kB / 1.251 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6977/1.822, allocations: 1.798 MB / 1.253 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/1.822, allocations: 8.969 kB / 1.253 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.822, allocations: 2.203 kB / 1.253 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/1.822, allocations: 4.406 kB / 1.253 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008722/1.831, allocations: 3.329 MB / 1.256 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/1.831, allocations: 4.75 kB / 1.256 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00199/1.833, allocations: 295.5 kB / 1.256 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-05/1.833, allocations: 7.781 kB / 1.256 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/1.833, allocations: 34.45 kB / 1.256 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.59e-05/1.833, allocations: 8.734 kB / 1.256 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/1.833, allocations: 11.75 kB / 1.256 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008328/1.841, allocations: 2.846 MB / 1.259 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008877/1.842, allocations: 324.3 kB / 1.259 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002252/1.842, allocations: 23.97 kB / 1.259 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/1.844, allocations: 176.2 kB / 1.26 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/1.844, allocations: 76.91 kB / 1.26 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/1.844, allocations: 39.28 kB / 1.26 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001363/1.846, allocations: 0.8325 MB / 1.261 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.846, allocations: 0 / 1.261 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001379/1.847, allocations: 339.1 kB / 1.261 GB, free: 231.8 MB / 0.9981 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.01086/1.858, allocations: 3.827 MB / 1.265 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005773/1.864, allocations: 1.782 MB / 1.266 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/1.864, allocations: 0 / 1.266 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00257/1.866, allocations: 0.8404 MB / 1.267 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003091/1.869, allocations: 0.6123 MB / 1.268 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02536/1.895, allocations: 13.24 MB / 1.281 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005652/1.895, allocations: 1.183 MB / 1.282 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001772/1.897, allocations: 366.6 kB / 1.282 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007083/1.898, allocations: 0.499 MB / 1.283 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of SimCode: time 9.32e-07/1.898, allocations: 0 / 1.283 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05212/1.95, allocations: 35.01 MB / 1.317 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001456/1.95, allocations: 259.9 kB / 1.317 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.825/4.775, allocations: 0 / 1.317 GB, free: 187.2 MB / 0.9981 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)