Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_latest_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.004126/0.004126, allocations: 99.77 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.001163/0.001163, allocations: 193.8 kB / 16.67 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.564/2.564, allocations: 482.6 MB / 0.755 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 68.52 kB / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2724, allocations: 162.3 MB / 1.242 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2357/0.5082, allocations: 241.7 MB / 1.478 GB, free: 6.242 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01189/0.5201, allocations: 8.423 MB / 1.486 GB, free: 13.8 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.5211, allocations: 67.56 kB / 1.486 GB, free: 13.73 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001982/0.5232, allocations: 1.056 MB / 1.487 GB, free: 12.67 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005821/0.529, allocations: 3.06 MB / 1.49 GB, free: 9.598 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.006744/0.5357, allocations: 3.515 MB / 1.494 GB, free: 6.082 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.00426/0.54, allocations: 3.913 MB / 1.498 GB, free: 2.156 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001601/0.5416, allocations: 1.357 MB / 1.499 GB, free: 0.7656 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00334/0.545, allocations: 2.188 MB / 1.501 GB, free: 14.57 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001452/0.5464, allocations: 1.35 MB / 1.502 GB, free: 13.21 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001905/0.5466, allocations: 128 kB / 1.502 GB, free: 13.09 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005881/0.5525, allocations: 3.928 MB / 1.506 GB, free: 9.152 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005218/0.5531, allocations: 0.5919 MB / 1.507 GB, free: 8.559 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0008986/0.554, allocations: 0.9869 MB / 1.508 GB, free: 7.566 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004724/0.5587, allocations: 3.846 MB / 1.512 GB, free: 3.707 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.5587, allocations: 3.984 kB / 1.512 GB, free: 3.703 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5587, allocations: 0 / 1.512 GB, free: 3.703 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.813e-05/0.5587, allocations: 0 / 1.512 GB, free: 3.703 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.005182/0.5639, allocations: 2.71 MB / 1.514 GB, free: 0.9219 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.564, allocations: 8.031 kB / 1.514 GB, free: 0.9141 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002053/0.5642, allocations: 190.4 kB / 1.514 GB, free: 0.7188 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006251/0.5704, allocations: 1.099 MB / 1.515 GB, free: 15.62 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/0.5724, allocations: 1.259 MB / 1.517 GB, free: 14.3 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.713e-05/0.5725, allocations: 106.5 kB / 1.517 GB, free: 14.2 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/0.5727, allocations: 135.9 kB / 1.517 GB, free: 14.07 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003528/0.5762, allocations: 1.972 MB / 1.519 GB, free: 11.95 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.5762, allocations: 3.938 kB / 1.519 GB, free: 11.95 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/0.5764, allocations: 60 kB / 1.519 GB, free: 11.89 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.491e-05/0.5764, allocations: 62.3 kB / 1.519 GB, free: 11.82 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004379/0.5808, allocations: 1.87 MB / 1.521 GB, free: 9.945 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009321/0.5901, allocations: 9.174 MB / 1.53 GB, free: 140 kB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003953/0.5941, allocations: 1.599 MB / 1.531 GB, free: 14.53 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001796/0.5959, allocations: 0.7857 MB / 1.532 GB, free: 13.74 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008387/0.5968, allocations: 0.5932 MB / 1.533 GB, free: 13.04 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001964/0.5987, allocations: 0.8602 MB / 1.534 GB, free: 12.16 MB / 1.264 GB Notification: Performance of pre-optimization done (n=104): time 2.685e-06/0.5988, allocations: 0 / 1.534 GB, free: 12.16 MB / 1.264 GB Notification: Performance of matching and sorting (n=104): time 0.005797/0.6046, allocations: 2.318 MB / 1.536 GB, free: 9.84 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.6046, allocations: 72.39 kB / 1.536 GB, free: 9.754 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/0.6065, allocations: 1.665 MB / 1.537 GB, free: 8.09 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 7.993e-05/0.6066, allocations: 45.7 kB / 1.538 GB, free: 8.039 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006359/0.6072, allocations: 0.8439 MB / 1.538 GB, free: 7.188 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003082/0.6075, allocations: 380.8 kB / 1.539 GB, free: 6.812 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003596/0.6079, allocations: 234.8 kB / 1.539 GB, free: 6.578 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.608, allocations: 357.9 kB / 1.539 GB, free: 6.223 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/0.6097, allocations: 0.6622 MB / 1.54 GB, free: 5.559 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002022/0.6118, allocations: 1.062 MB / 1.541 GB, free: 4.34 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003655/0.6154, allocations: 1.708 MB / 1.543 GB, free: 2.484 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.6154, allocations: 4 kB / 1.543 GB, free: 2.48 MB / 1.264 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004207/0.6197, allocations: 1.926 MB / 1.544 GB, free: 0.5469 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.6197, allocations: 8 kB / 1.544 GB, free: 0.5391 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.6197, allocations: 12 kB / 1.545 GB, free: 0.5273 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.6197, allocations: 16 kB / 1.545 GB, free: 0.5117 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/0.6213, allocations: 367.4 kB / 1.545 GB, free: 156 kB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.141e-05/0.6213, allocations: 19.94 kB / 1.545 GB, free: 136 kB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.5002/1.122, allocations: 249.5 kB / 1.545 GB, free: 301 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002487/1.122, allocations: 64.48 kB / 1.545 GB, free: 301 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (157): * Single equations (assignments): 157 * 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.0006985/1.123, allocations: 402.4 kB / 1.546 GB, free: 300.9 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003052/1.123, allocations: 195.9 kB / 1.546 GB, free: 300.9 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004246/1.127, allocations: 1.784 MB / 1.548 GB, free: 300.8 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/1.127, allocations: 12.44 kB / 1.548 GB, free: 300.8 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/1.127, allocations: 0.6562 kB / 1.548 GB, free: 300.8 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/1.127, allocations: 4.828 kB / 1.548 GB, free: 300.8 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007182/1.134, allocations: 3.932 MB / 1.551 GB, free: 299.5 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/1.134, allocations: 10.16 kB / 1.551 GB, free: 299.5 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/1.136, allocations: 264.7 kB / 1.552 GB, free: 299.5 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.791e-05/1.136, allocations: 14.66 kB / 1.552 GB, free: 299.5 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/1.136, allocations: 36.17 kB / 1.552 GB, free: 299.5 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.912e-05/1.136, allocations: 18.36 kB / 1.552 GB, free: 299.5 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/1.136, allocations: 11.19 kB / 1.552 GB, free: 299.5 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005609/1.142, allocations: 2.872 MB / 1.555 GB, free: 298.4 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005205/1.142, allocations: 389.8 kB / 1.555 GB, free: 298.1 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/1.142, allocations: 28.59 kB / 1.555 GB, free: 298.1 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/1.144, allocations: 127.8 kB / 1.555 GB, free: 298.1 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/1.144, allocations: 92.28 kB / 1.555 GB, free: 298.1 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.145e-05/1.144, allocations: 43.16 kB / 1.555 GB, free: 298.1 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.00133/1.145, allocations: 1.133 MB / 1.556 GB, free: 297.7 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.5e-07/1.145, allocations: 0 / 1.556 GB, free: 297.7 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001106/1.146, allocations: 469.6 kB / 1.557 GB, free: 297.6 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (104): * Single equations (assignments): 98 * 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.007274/1.154, allocations: 3.913 MB / 1.561 GB, free: 295.9 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003751/1.157, allocations: 1.62 MB / 1.562 GB, free: 295.4 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.157, allocations: 4.781 kB / 1.562 GB, free: 295.4 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001825/1.159, allocations: 0.7918 MB / 1.563 GB, free: 295.2 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003545/1.163, allocations: 0.9268 MB / 1.564 GB, free: 294.9 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02354/1.186, allocations: 14.93 MB / 1.578 GB, free: 288.1 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005332/1.187, allocations: 1.362 MB / 1.58 GB, free: 287.3 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001478/1.188, allocations: 455.2 kB / 1.58 GB, free: 287.2 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007294/1.189, allocations: 0.71 MB / 1.581 GB, free: 286.7 MB / 1.264 GB Notification: Performance of SimCode: time 4.1e-07/1.189, allocations: 4 kB / 1.581 GB, free: 286.7 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.037/3.227, allocations: 48.89 MB / 1.629 GB, free: 240.7 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.65/30.87, allocations: 0 / 1.629 GB, free: 240.7 MB / 1.264 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)