Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_9_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.001076/0.001076, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.221/2.221, allocations: 390.3 MB / 0.6647 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 59.91 kB / 0.8126 GB, free: 14.4 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5335/0.5349, allocations: 140.4 MB / 0.9497 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.1747/0.7097, allocations: 193.8 MB / 1.139 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.007549/0.7173, allocations: 5.146 MB / 1.144 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007945/0.7181, allocations: 47.69 kB / 1.144 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.7197, allocations: 0.808 MB / 1.145 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005075/0.7248, allocations: 2.606 MB / 1.147 GB, free: 6.723 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002289/0.7271, allocations: 1.104 MB / 1.148 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002717/0.7298, allocations: 2.613 MB / 1.151 GB, free: 3.004 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.731, allocations: 0.8883 MB / 1.152 GB, free: 2.105 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.7326, allocations: 1.074 MB / 1.153 GB, free: 1.027 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.7336, allocations: 0.9495 MB / 1.154 GB, free: 76 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.7338, allocations: 83.98 kB / 1.154 GB, free: 15.99 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003035/0.7368, allocations: 1.777 MB / 1.156 GB, free: 14.21 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004336/0.7373, allocations: 434.7 kB / 1.156 GB, free: 13.79 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006684/0.7379, allocations: 0.6447 MB / 1.157 GB, free: 13.14 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002976/0.7409, allocations: 2.119 MB / 1.159 GB, free: 11.01 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.741, allocations: 0 / 1.159 GB, free: 11.01 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.864e-06/0.741, allocations: 0 / 1.159 GB, free: 11.01 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.71e-05/0.741, allocations: 0 / 1.159 GB, free: 11.01 MB / 0.92 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.004778/0.7458, allocations: 1.934 MB / 1.161 GB, free: 9.02 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.7458, allocations: 8.031 kB / 1.161 GB, free: 9.012 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001616/0.746, allocations: 139.5 kB / 1.161 GB, free: 8.867 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003869/0.7499, allocations: 0.6576 MB / 1.161 GB, free: 8.207 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.7512, allocations: 0.8864 MB / 1.162 GB, free: 7.262 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.116e-05/0.7513, allocations: 69.92 kB / 1.162 GB, free: 7.195 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.7515, allocations: 87.98 kB / 1.162 GB, free: 7.109 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003075/0.7545, allocations: 1.474 MB / 1.164 GB, free: 5.559 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.7546, allocations: 0 / 1.164 GB, free: 5.559 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.936e-05/0.7547, allocations: 36 kB / 1.164 GB, free: 5.523 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-05/0.7547, allocations: 45.98 kB / 1.164 GB, free: 5.48 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003993/0.7587, allocations: 1.526 MB / 1.165 GB, free: 3.949 MB / 0.92 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.006878/0.7656, allocations: 5.487 MB / 1.171 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003749/0.7694, allocations: 1.288 MB / 1.172 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.7711, allocations: 0.6622 MB / 1.173 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008286/0.7719, allocations: 0.5812 MB / 1.173 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001865/0.7738, allocations: 0.7067 MB / 1.174 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=80): time 2.876e-06/0.7738, allocations: 0 / 1.174 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of matching and sorting (n=80): time 0.005606/0.7794, allocations: 1.878 MB / 1.176 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.7795, allocations: 64.06 kB / 1.176 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/0.781, allocations: 1.242 MB / 1.177 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.782e-05/0.7811, allocations: 45.7 kB / 1.177 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004374/0.7815, allocations: 0.5714 MB / 1.178 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/0.7818, allocations: 284.1 kB / 1.178 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003123/0.7821, allocations: 186.5 kB / 1.178 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.7822, allocations: 334 kB / 1.178 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/0.7839, allocations: 0.5367 MB / 1.179 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001842/0.7857, allocations: 0.8289 MB / 1.18 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003401/0.7891, allocations: 1.328 MB / 1.181 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.7892, allocations: 0 / 1.181 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003995/0.7932, allocations: 1.498 MB / 1.183 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.7932, allocations: 8 kB / 1.183 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.7932, allocations: 8 kB / 1.183 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.7932, allocations: 12 kB / 1.183 GB, free: 1.723 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.7947, allocations: 296.2 kB / 1.183 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.348e-05/0.7947, allocations: 19.92 kB / 1.183 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.796, allocations: 194.8 kB / 1.183 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.7962, allocations: 51.97 kB / 1.183 GB, free: 1.172 MB / 0.9356 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.0005229/0.7967, allocations: 335.7 kB / 1.183 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002705/0.797, allocations: 142.2 kB / 1.184 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004018/0.801, allocations: 1.405 MB / 1.185 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.801, allocations: 8 kB / 1.185 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.801, allocations: 3.984 kB / 1.185 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-06/0.801, allocations: 3.984 kB / 1.185 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005852/0.8069, allocations: 2.799 MB / 1.188 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.445e-06/0.8069, allocations: 15.94 kB / 1.188 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/0.8082, allocations: 215.7 kB / 1.188 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/0.8082, allocations: 8 kB / 1.188 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.192e-05/0.8083, allocations: 35.95 kB / 1.188 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.8083, allocations: 8 kB / 1.188 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.8083, allocations: 7.938 kB / 1.188 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005521/0.8138, allocations: 2.244 MB / 1.19 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004748/0.8143, allocations: 299.1 kB / 1.19 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/0.8145, allocations: 24 kB / 1.191 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.8157, allocations: 115.9 kB / 1.191 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.8158, allocations: 64.36 kB / 1.191 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.799e-05/0.8159, allocations: 35.97 kB / 1.191 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001046/0.817, allocations: 0.8562 MB / 1.192 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.723e-06/0.817, allocations: 0 / 1.192 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000963/0.8179, allocations: 323.5 kB / 1.192 GB, free: 8.039 MB / 0.9512 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.007008/0.825, allocations: 3.217 MB / 1.195 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004071/0.829, allocations: 1.415 MB / 1.196 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.8291, allocations: 0 / 1.196 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001797/0.8309, allocations: 0.6404 MB / 1.197 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00266/0.8335, allocations: 0.5978 MB / 1.198 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02052/0.8541, allocations: 11.75 MB / 1.209 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007816/0.8549, allocations: 1.167 MB / 1.21 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001411/0.8563, allocations: 349.9 kB / 1.211 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007208/0.857, allocations: 499.2 kB / 1.211 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of SimCode: time 5.91e-07/0.857, allocations: 4 kB / 1.211 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.1/1.957, allocations: 33.57 MB / 1.244 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/14.15, allocations: 0 / 1.244 GB, free: 2.699 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)