Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_X_wSetOnly,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_10_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.001151/0.001151, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001105/0.001105, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.434/1.434, allocations: 222.9 MB / 239.9 MB, free: 4.582 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.733/2.733, allocations: 437 MB / 0.7101 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 63.91 kB / 0.8689 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.797/0.7985, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2099/1.008, allocations: 191.3 MB / 1.204 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008906/1.017, allocations: 5.134 MB / 1.209 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001766/1.019, allocations: 43.69 kB / 1.209 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002422/1.022, allocations: 0.7234 MB / 1.21 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.008081/1.03, allocations: 2.455 MB / 1.212 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003026/1.033, allocations: 1.01 MB / 1.213 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003939/1.037, allocations: 2.625 MB / 1.215 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/1.038, allocations: 0.8922 MB / 1.216 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002211/1.04, allocations: 1.109 MB / 1.217 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001485/1.042, allocations: 1.016 MB / 1.218 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001422/1.042, allocations: 80 kB / 1.218 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003619/1.046, allocations: 1.847 MB / 1.22 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006215/1.046, allocations: 442.6 kB / 1.221 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008836/1.047, allocations: 0.6449 MB / 1.221 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004636/1.052, allocations: 2.251 MB / 1.224 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.926e-06/1.052, allocations: 0 / 1.224 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.625e-06/1.052, allocations: 0 / 1.224 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.316e-05/1.052, allocations: 0 / 1.224 GB, free: 14.39 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005892/1.058, allocations: 1.93 MB / 1.225 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/1.058, allocations: 12.03 kB / 1.225 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001613/1.058, allocations: 139.5 kB / 1.226 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003867/1.062, allocations: 0.6615 MB / 1.226 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/1.063, allocations: 0.8902 MB / 1.227 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.954e-05/1.063, allocations: 66 kB / 1.227 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/1.064, allocations: 84 kB / 1.227 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002993/1.067, allocations: 1.466 MB / 1.229 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/1.067, allocations: 4 kB / 1.229 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.943e-05/1.067, allocations: 39.98 kB / 1.229 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.089e-05/1.067, allocations: 57.91 kB / 1.229 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003874/1.071, allocations: 1.518 MB / 1.23 GB, free: 7.328 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.007394/1.078, allocations: 5.463 MB / 1.236 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003459/1.082, allocations: 1.291 MB / 1.237 GB, free: 292 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001578/1.083, allocations: 0.6585 MB / 1.237 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008781/1.084, allocations: 0.5851 MB / 1.238 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001798/1.086, allocations: 0.7029 MB / 1.239 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=80): time 2.785e-06/1.086, allocations: 0 / 1.239 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of matching and sorting (n=80): time 0.005484/1.091, allocations: 1.874 MB / 1.241 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/1.091, allocations: 60.06 kB / 1.241 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/1.093, allocations: 1.242 MB / 1.242 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.011e-05/1.093, allocations: 45.7 kB / 1.242 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004538/1.093, allocations: 0.5831 MB / 1.242 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/1.094, allocations: 276 kB / 1.243 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003004/1.094, allocations: 186.5 kB / 1.243 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.094, allocations: 345.9 kB / 1.243 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/1.096, allocations: 0.5367 MB / 1.244 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001725/1.097, allocations: 0.829 MB / 1.245 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003175/1.101, allocations: 1.321 MB / 1.246 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.101, allocations: 4 kB / 1.246 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003816/1.104, allocations: 1.495 MB / 1.247 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/1.104, allocations: 10.34 kB / 1.247 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/1.104, allocations: 8 kB / 1.247 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/1.105, allocations: 12 kB / 1.247 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/1.106, allocations: 296 kB / 1.248 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-05/1.106, allocations: 19.92 kB / 1.248 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/1.107, allocations: 206.8 kB / 1.248 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/1.108, allocations: 51.97 kB / 1.248 GB, free: 4.566 MB / 0.9981 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.0005735/1.108, allocations: 335.7 kB / 1.248 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/1.108, allocations: 142.2 kB / 1.248 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003835/1.112, allocations: 1.412 MB / 1.25 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/1.112, allocations: 8 kB / 1.25 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.112, allocations: 0 / 1.25 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/1.112, allocations: 3.984 kB / 1.25 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7101/1.822, allocations: 2.803 MB / 1.252 GB, free: 233.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/1.822, allocations: 7.844 kB / 1.252 GB, free: 233.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/1.824, allocations: 220.9 kB / 1.253 GB, free: 233.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.616e-05/1.824, allocations: 7.094 kB / 1.253 GB, free: 233.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/1.824, allocations: 31.09 kB / 1.253 GB, free: 233.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.805e-05/1.824, allocations: 11.86 kB / 1.253 GB, free: 233.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/1.824, allocations: 4.188 kB / 1.253 GB, free: 233.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005979/1.83, allocations: 2.251 MB / 1.255 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006439/1.831, allocations: 297.4 kB / 1.255 GB, free: 233 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/1.831, allocations: 18.34 kB / 1.255 GB, free: 233 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/1.832, allocations: 126.7 kB / 1.255 GB, free: 233 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001787/1.832, allocations: 63.56 kB / 1.255 GB, free: 233 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.575e-05/1.832, allocations: 40.19 kB / 1.255 GB, free: 233 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001449/1.834, allocations: 0.8517 MB / 1.256 GB, free: 232.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.51e-07/1.834, allocations: 0.7812 kB / 1.256 GB, free: 232.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001945/1.836, allocations: 317.3 kB / 1.257 GB, free: 232.7 MB / 0.9981 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.007686/1.843, allocations: 3.222 MB / 1.26 GB, free: 231.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004903/1.848, allocations: 1.411 MB / 1.261 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/1.848, allocations: 0.5 kB / 1.261 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00215/1.851, allocations: 0.6385 MB / 1.262 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00328/1.854, allocations: 0.5879 MB / 1.262 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02379/1.878, allocations: 12.11 MB / 1.274 GB, free: 224 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007424/1.878, allocations: 1.175 MB / 1.275 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001764/1.88, allocations: 344.9 kB / 1.276 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006836/1.881, allocations: 0.489 MB / 1.276 GB, free: 222.8 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/1.881, allocations: 4 kB / 1.276 GB, free: 222.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04854/1.929, allocations: 33.28 MB / 1.309 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/1.93, allocations: 265.5 kB / 1.309 GB, free: 195 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.643/4.572, allocations: 0 / 1.309 GB, free: 195 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)