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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001278/0.001278, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001418/0.001418, allocations: 198.2 kB / 16.14 MB, free: 6.746 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.264/1.264, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.374/2.374, allocations: 390.2 MB / 0.6643 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5319/0.5332, allocations: 140.4 MB / 0.949 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.1731/0.7063, allocations: 191.6 MB / 1.136 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007791/0.7142, allocations: 5.191 MB / 1.141 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.7153, allocations: 43.69 kB / 1.141 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001769/0.7171, allocations: 0.7077 MB / 1.142 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005137/0.7222, allocations: 2.455 MB / 1.144 GB, free: 9.457 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.7244, allocations: 1.002 MB / 1.145 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003097/0.7275, allocations: 3.538 MB / 1.149 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009786/0.7285, allocations: 0.8209 MB / 1.15 GB, free: 4.078 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.7299, allocations: 0.9998 MB / 1.151 GB, free: 3.074 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009944/0.7309, allocations: 0.9845 MB / 1.151 GB, free: 2.086 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.731, allocations: 52 kB / 1.152 GB, free: 2.035 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002998/0.734, allocations: 2.069 MB / 1.154 GB, free: 15.96 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003607/0.7344, allocations: 410.5 kB / 1.154 GB, free: 15.56 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005521/0.735, allocations: 0.6214 MB / 1.155 GB, free: 14.93 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00239/0.7374, allocations: 2.212 MB / 1.157 GB, free: 12.71 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.7374, allocations: 0 / 1.157 GB, free: 12.71 MB / 0.92 GB Notification: Performance of FrontEnd: time 7.41e-07/0.7374, allocations: 0 / 1.157 GB, free: 12.71 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.7374, allocations: 0 / 1.157 GB, free: 12.71 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.004581/0.742, allocations: 1.934 MB / 1.159 GB, free: 10.73 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.7421, allocations: 8.031 kB / 1.159 GB, free: 10.72 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001557/0.7422, allocations: 147.4 kB / 1.159 GB, free: 10.57 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003806/0.746, allocations: 0.6537 MB / 1.159 GB, free: 9.91 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.7472, allocations: 0.8864 MB / 1.16 GB, free: 8.965 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.69e-05/0.7473, allocations: 62 kB / 1.16 GB, free: 8.906 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.7474, allocations: 91.98 kB / 1.16 GB, free: 8.816 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002891/0.7503, allocations: 1.47 MB / 1.162 GB, free: 7.27 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.7504, allocations: 7.938 kB / 1.162 GB, free: 7.262 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.7505, allocations: 36 kB / 1.162 GB, free: 7.227 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.126e-05/0.7505, allocations: 53.91 kB / 1.162 GB, free: 7.176 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003837/0.7544, allocations: 1.522 MB / 1.163 GB, free: 5.648 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.00635/0.7607, allocations: 5.46 MB / 1.169 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003458/0.7642, allocations: 1.288 MB / 1.17 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001578/0.7658, allocations: 0.6544 MB / 1.171 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008028/0.7666, allocations: 0.5851 MB / 1.171 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001737/0.7684, allocations: 0.7067 MB / 1.172 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=80): time 2.775e-06/0.7684, allocations: 0 / 1.172 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=80): time 0.005134/0.7735, allocations: 1.874 MB / 1.174 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.7736, allocations: 72 kB / 1.174 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.7748, allocations: 1.239 MB / 1.175 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.115e-05/0.7749, allocations: 41.7 kB / 1.175 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003822/0.7753, allocations: 0.5792 MB / 1.176 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/0.7755, allocations: 280.1 kB / 1.176 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002804/0.7758, allocations: 182.5 kB / 1.176 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.7759, allocations: 349.9 kB / 1.176 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/0.7774, allocations: 0.5328 MB / 1.177 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001682/0.7791, allocations: 0.825 MB / 1.178 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003032/0.7821, allocations: 1.328 MB / 1.179 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.7821, allocations: 0 / 1.179 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003503/0.7856, allocations: 1.502 MB / 1.18 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.7857, allocations: 8 kB / 1.18 GB, free: 3.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.7857, allocations: 15.92 kB / 1.181 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.7857, allocations: 12.72 kB / 1.181 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.7871, allocations: 295.5 kB / 1.181 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.7871, allocations: 23.92 kB / 1.181 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.7884, allocations: 210.7 kB / 1.181 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.316e-05/0.7885, allocations: 51.97 kB / 1.181 GB, free: 2.867 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.0004357/0.7889, allocations: 339.7 kB / 1.181 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.7891, allocations: 142.2 kB / 1.182 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003605/0.7927, allocations: 1.405 MB / 1.183 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.7928, allocations: 8 kB / 1.183 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.7928, allocations: 0 / 1.183 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.7928, allocations: 3.984 kB / 1.183 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005257/0.798, allocations: 2.795 MB / 1.186 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.7981, allocations: 7.938 kB / 1.186 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/0.7992, allocations: 224.2 kB / 1.186 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.7993, allocations: 8 kB / 1.186 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.566e-05/0.7993, allocations: 27.97 kB / 1.186 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.7994, allocations: 7.938 kB / 1.186 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.7994, allocations: 8 kB / 1.186 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005032/0.8044, allocations: 2.244 MB / 1.188 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004186/0.8048, allocations: 307.1 kB / 1.188 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.805, allocations: 16 kB / 1.188 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.8061, allocations: 139.8 kB / 1.189 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.8063, allocations: 68.36 kB / 1.189 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.59e-05/0.8064, allocations: 31.98 kB / 1.189 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001063/0.8075, allocations: 0.8561 MB / 1.189 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8075, allocations: 0 / 1.189 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001038/0.8085, allocations: 311.7 kB / 1.19 GB, free: 9.738 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.006667/0.8152, allocations: 3.226 MB / 1.193 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003401/0.8186, allocations: 1.271 MB / 1.194 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.8186, allocations: 4 kB / 1.194 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001644/0.8203, allocations: 0.6482 MB / 1.195 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/0.8228, allocations: 0.561 MB / 1.195 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01883/0.8416, allocations: 12.1 MB / 1.207 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006275/0.8422, allocations: 1.175 MB / 1.208 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001274/0.8435, allocations: 345.9 kB / 1.209 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006814/0.8442, allocations: 0.4914 MB / 1.209 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of SimCode: time 5.01e-07/0.8442, allocations: 0 / 1.209 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.109/2.954, allocations: 32.43 MB / 1.241 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003476/2.954, allocations: 263.6 kB / 1.241 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.851/5.805, allocations: 0 / 1.241 GB, free: 5.051 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)