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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009551/0.0009554, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00124/0.00124, allocations: 173.4 kB / 16.27 MB, free: 6.664 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.428/1.428, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.731/2.731, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003683, allocations: 8 kB / 0.8729 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6262/0.6265, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2269/0.8535, allocations: 189 MB / 1.208 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00877/0.8623, allocations: 5.137 MB / 1.213 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.8637, allocations: 39.69 kB / 1.213 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001794/0.8655, allocations: 0.7116 MB / 1.213 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006293/0.8718, allocations: 2.448 MB / 1.216 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00274/0.8746, allocations: 0.9987 MB / 1.217 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004162/0.8787, allocations: 3.534 MB / 1.22 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001289/0.8801, allocations: 0.8071 MB / 1.221 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00191/0.882, allocations: 0.992 MB / 1.222 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/0.8832, allocations: 0.965 MB / 1.223 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.8833, allocations: 44 kB / 1.223 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003605/0.8869, allocations: 2.061 MB / 1.225 GB, free: 328 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004332/0.8874, allocations: 406.6 kB / 1.225 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006661/0.8881, allocations: 0.6308 MB / 1.226 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003256/0.8913, allocations: 2.2 MB / 1.228 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.8914, allocations: 3.938 kB / 1.228 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.943e-06/0.8914, allocations: 0 / 1.228 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.602e-05/0.8914, allocations: 0 / 1.228 GB, free: 13.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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004732/0.8961, allocations: 1.665 MB / 1.23 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.8962, allocations: 12.03 kB / 1.23 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001916/0.8964, allocations: 135.5 kB / 1.23 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004113/0.9005, allocations: 0.7045 MB / 1.231 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.902, allocations: 0.8825 MB / 1.232 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.813e-05/0.902, allocations: 73.94 kB / 1.232 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.9022, allocations: 83.98 kB / 1.232 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003159/0.9054, allocations: 1.485 MB / 1.233 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.9054, allocations: 7.938 kB / 1.233 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.9055, allocations: 32 kB / 1.233 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.255e-05/0.9056, allocations: 49.98 kB / 1.233 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004161/0.9098, allocations: 1.549 MB / 1.235 GB, free: 6.195 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.007455/0.9173, allocations: 5.495 MB / 1.24 GB, free: 432 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5896/1.507, allocations: 1.311 MB / 1.241 GB, free: 23.32 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001868/1.509, allocations: 0.6676 MB / 1.242 GB, free: 23.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007877/1.51, allocations: 0.5952 MB / 1.243 GB, free: 22.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001978/1.512, allocations: 0.7235 MB / 1.243 GB, free: 22.7 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=80): time 2.985e-06/1.512, allocations: 0 / 1.243 GB, free: 22.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=80): time 0.006089/1.518, allocations: 1.915 MB / 1.245 GB, free: 22.65 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/1.518, allocations: 61.12 kB / 1.245 GB, free: 22.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/1.52, allocations: 1.238 MB / 1.246 GB, free: 22.44 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001096/1.52, allocations: 47.17 kB / 1.246 GB, free: 22.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000428/1.52, allocations: 0.586 MB / 1.247 GB, free: 22.26 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/1.52, allocations: 269.9 kB / 1.247 GB, free: 22.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/1.52, allocations: 82.61 kB / 1.247 GB, free: 22.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.093e-05/1.521, allocations: 342 kB / 1.248 GB, free: 21.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001836/1.522, allocations: 0.5501 MB / 1.248 GB, free: 21.76 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002033/1.524, allocations: 0.8297 MB / 1.249 GB, free: 21.45 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003571/1.528, allocations: 1.352 MB / 1.25 GB, free: 21.14 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/1.528, allocations: 2.219 kB / 1.25 GB, free: 21.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0048/1.533, allocations: 1.517 MB / 1.252 GB, free: 21 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/1.533, allocations: 8.812 kB / 1.252 GB, free: 21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/1.533, allocations: 7.656 kB / 1.252 GB, free: 21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.029e-05/1.533, allocations: 17.02 kB / 1.252 GB, free: 20.99 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/1.535, allocations: 299.1 kB / 1.252 GB, free: 20.99 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.711e-05/1.535, allocations: 17.67 kB / 1.252 GB, free: 20.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/1.536, allocations: 231.4 kB / 1.252 GB, free: 20.92 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001489/1.537, allocations: 53.38 kB / 1.252 GB, free: 20.92 MB / 0.9825 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.0009641/1.538, allocations: 341.3 kB / 1.253 GB, free: 20.8 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004157/1.538, allocations: 136.5 kB / 1.253 GB, free: 20.73 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004951/1.543, allocations: 1.424 MB / 1.254 GB, free: 20.64 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/1.543, allocations: 8.312 kB / 1.254 GB, free: 20.64 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/1.543, allocations: 4.516 kB / 1.254 GB, free: 20.63 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/1.543, allocations: 6.375 kB / 1.254 GB, free: 20.63 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006394/1.549, allocations: 2.816 MB / 1.257 GB, free: 20.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/1.55, allocations: 4.875 kB / 1.257 GB, free: 20.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/1.551, allocations: 229.5 kB / 1.257 GB, free: 20.13 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-05/1.551, allocations: 11.8 kB / 1.257 GB, free: 20.12 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-05/1.551, allocations: 29.94 kB / 1.257 GB, free: 20.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.168e-05/1.551, allocations: 8.891 kB / 1.257 GB, free: 20.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/1.551, allocations: 7.25 kB / 1.257 GB, free: 20.12 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00576/1.557, allocations: 2.285 MB / 1.26 GB, free: 19.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006141/1.557, allocations: 306.2 kB / 1.26 GB, free: 19.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/1.558, allocations: 25.81 kB / 1.26 GB, free: 19.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/1.559, allocations: 141.9 kB / 1.26 GB, free: 19.54 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/1.559, allocations: 65.03 kB / 1.26 GB, free: 19.53 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-05/1.559, allocations: 37.88 kB / 1.26 GB, free: 19.53 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001136/1.56, allocations: 0.8542 MB / 1.261 GB, free: 19.42 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/1.56, allocations: 0 / 1.261 GB, free: 19.42 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001138/1.561, allocations: 320.1 kB / 1.261 GB, free: 19.4 MB / 0.9825 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.006887/1.568, allocations: 3.258 MB / 1.264 GB, free: 18.39 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00353/1.572, allocations: 1.302 MB / 1.266 GB, free: 18.36 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.572, allocations: 0 / 1.266 GB, free: 18.36 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00162/1.573, allocations: 0.6543 MB / 1.266 GB, free: 18.34 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003334/1.577, allocations: 0.5682 MB / 1.267 GB, free: 18.3 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01901/1.596, allocations: 12.25 MB / 1.279 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000523/1.596, allocations: 1.17 MB / 1.28 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001437/1.598, allocations: 340.8 kB / 1.28 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006307/1.598, allocations: 0.4893 MB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of SimCode: time 1.152e-06/1.598, allocations: 0 / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05729/1.656, allocations: 32.01 MB / 1.312 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/1.656, allocations: 265.3 kB / 1.312 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.651/4.307, allocations: 0 / 1.312 GB, free: 4.738 MB / 0.9825 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)