Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.004677/0.004677, allocations: 104.3 kB / 15.74 MB, free: 6.441 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.001181/0.001181, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.184/1.184, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.249/2.249, allocations: 437.1 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 67.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2358, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.694/0.9298, allocations: 193.8 MB / 1.355 GB, free: 388 kB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009608/0.9395, allocations: 5.144 MB / 1.361 GB, free: 12.77 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.9409, allocations: 50.84 kB / 1.361 GB, free: 12.75 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002284/0.9432, allocations: 0.8034 MB / 1.361 GB, free: 12.36 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006423/0.9497, allocations: 2.604 MB / 1.364 GB, free: 11.02 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002544/0.9522, allocations: 1.112 MB / 1.365 GB, free: 10.47 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003371/0.9556, allocations: 2.598 MB / 1.368 GB, free: 9.312 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.9567, allocations: 0.8825 MB / 1.368 GB, free: 8.766 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.9583, allocations: 1.09 MB / 1.369 GB, free: 8.152 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.9593, allocations: 0.9551 MB / 1.37 GB, free: 7.617 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.9594, allocations: 79.31 kB / 1.37 GB, free: 7.617 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003124/0.9626, allocations: 1.781 MB / 1.372 GB, free: 6.629 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003697/0.9629, allocations: 443 kB / 1.373 GB, free: 6.34 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0005435/0.9635, allocations: 0.6495 MB / 1.373 GB, free: 5.918 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002508/0.966, allocations: 2.169 MB / 1.375 GB, free: 4.574 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.966, allocations: 0 / 1.375 GB, free: 4.574 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.453e-06/0.966, allocations: 0 / 1.375 GB, free: 4.574 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.577e-05/0.9661, allocations: 1.031 kB / 1.375 GB, free: 4.574 MB / 1.045 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.004592/0.9707, allocations: 1.935 MB / 1.377 GB, free: 3.125 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.9707, allocations: 10.81 kB / 1.377 GB, free: 3.125 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001462/0.9709, allocations: 133.8 kB / 1.377 GB, free: 3.016 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004088/0.9749, allocations: 0.7097 MB / 1.378 GB, free: 2.684 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.9765, allocations: 0.953 MB / 1.379 GB, free: 1.949 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.644e-05/0.9765, allocations: 65.25 kB / 1.379 GB, free: 1.918 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.9767, allocations: 90.7 kB / 1.379 GB, free: 1.887 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002826/0.9795, allocations: 1.466 MB / 1.381 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.9796, allocations: 3.938 kB / 1.381 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.9797, allocations: 32.94 kB / 1.381 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.424e-05/0.9797, allocations: 52.39 kB / 1.381 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003834/0.9836, allocations: 1.556 MB / 1.382 GB, free: 180 kB / 1.045 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.005917/0.9895, allocations: 5.022 MB / 1.387 GB, free: 11.99 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003105/0.9926, allocations: 1.186 MB / 1.388 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/0.9943, allocations: 0.6687 MB / 1.389 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001187/0.9955, allocations: 0.9373 MB / 1.39 GB, free: 10.1 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001757/0.9972, allocations: 0.7306 MB / 1.391 GB, free: 9.672 MB / 1.061 GB Notification: Performance of pre-optimization done (n=82): time 3.096e-06/0.9972, allocations: 0 / 1.391 GB, free: 9.672 MB / 1.061 GB Notification: Performance of matching and sorting (n=82): time 0.005672/1.003, allocations: 1.953 MB / 1.392 GB, free: 8.738 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/1.003, allocations: 60.06 kB / 1.392 GB, free: 8.676 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/1.004, allocations: 1.264 MB / 1.394 GB, free: 8.039 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.593e-05/1.004, allocations: 51 kB / 1.394 GB, free: 7.988 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004061/1.005, allocations: 0.5647 MB / 1.394 GB, free: 7.488 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/1.005, allocations: 282 kB / 1.395 GB, free: 7.246 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002882/1.005, allocations: 186.6 kB / 1.395 GB, free: 7.137 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001152/1.005, allocations: 348.1 kB / 1.395 GB, free: 6.801 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001573/1.007, allocations: 0.5415 MB / 1.396 GB, free: 6.539 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/1.009, allocations: 0.8329 MB / 1.396 GB, free: 5.941 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003121/1.012, allocations: 1.336 MB / 1.398 GB, free: 5.105 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/1.012, allocations: 3.594 kB / 1.398 GB, free: 5.105 MB / 1.061 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003693/1.016, allocations: 1.512 MB / 1.399 GB, free: 4.352 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/1.016, allocations: 7.938 kB / 1.399 GB, free: 4.352 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/1.016, allocations: 11.44 kB / 1.399 GB, free: 4.348 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/1.016, allocations: 12.44 kB / 1.399 GB, free: 4.348 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/1.017, allocations: 291 kB / 1.4 GB, free: 4.262 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.781e-05/1.017, allocations: 16.98 kB / 1.4 GB, free: 4.258 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/1.018, allocations: 199.5 kB / 1.4 GB, free: 4.145 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.128e-05/1.018, allocations: 52.69 kB / 1.4 GB, free: 4.125 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.0004924/1.019, allocations: 342.9 kB / 1.4 GB, free: 3.883 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/1.019, allocations: 135.4 kB / 1.4 GB, free: 3.812 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003722/1.023, allocations: 1.452 MB / 1.402 GB, free: 2.852 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/1.023, allocations: 8 kB / 1.402 GB, free: 2.844 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.023, allocations: 3.938 kB / 1.402 GB, free: 2.84 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/1.023, allocations: 7.984 kB / 1.402 GB, free: 2.832 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005559/1.028, allocations: 2.866 MB / 1.404 GB, free: 15.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/1.028, allocations: 7.938 kB / 1.404 GB, free: 15.85 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/1.03, allocations: 229.2 kB / 1.405 GB, free: 15.63 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/1.03, allocations: 11.94 kB / 1.405 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.45e-05/1.03, allocations: 23.98 kB / 1.405 GB, free: 15.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.025e-05/1.03, allocations: 11.98 kB / 1.405 GB, free: 15.58 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/1.03, allocations: 7.938 kB / 1.405 GB, free: 15.57 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005311/1.035, allocations: 2.307 MB / 1.407 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004923/1.036, allocations: 295.3 kB / 1.407 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/1.036, allocations: 27.98 kB / 1.407 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/1.037, allocations: 108.8 kB / 1.407 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/1.037, allocations: 64.36 kB / 1.407 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.522e-05/1.037, allocations: 35.97 kB / 1.408 GB, free: 12.67 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009521/1.038, allocations: 0.8762 MB / 1.408 GB, free: 11.79 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.21e-07/1.038, allocations: 0 / 1.408 GB, free: 11.79 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009163/1.039, allocations: 319.6 kB / 1.409 GB, free: 11.48 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (82): * Single equations (assignments): 76 * 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.006624/1.046, allocations: 3.284 MB / 1.412 GB, free: 8.293 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003564/1.049, allocations: 1.319 MB / 1.413 GB, free: 6.973 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/1.049, allocations: 8.188 kB / 1.413 GB, free: 6.965 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001748/1.051, allocations: 0.6597 MB / 1.414 GB, free: 6.309 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002628/1.054, allocations: 0.6248 MB / 1.414 GB, free: 5.695 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01868/1.072, allocations: 11.1 MB / 1.425 GB, free: 10.19 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006607/1.073, allocations: 1.175 MB / 1.426 GB, free: 8.98 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001168/1.074, allocations: 350.2 kB / 1.427 GB, free: 8.637 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000712/1.075, allocations: 499.2 kB / 1.427 GB, free: 8.148 MB / 1.092 GB Notification: Performance of SimCode: time 6.21e-07/1.075, allocations: 0 / 1.427 GB, free: 8.148 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05608/1.131, allocations: 35.01 MB / 1.461 GB, free: 5.555 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.034/10.16, allocations: 17.77 kB / 1.461 GB, free: 5.539 MB / 1.123 GB (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)