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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.001029/0.001029, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001298/0.001298, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.3 MB / 240 MB, free: 5.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.471/2.471, allocations: 409.4 MB / 0.684 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003529, allocations: 8 kB / 0.8378 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7011/0.7015, allocations: 146.8 MB / 0.9811 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.1887/0.8902, allocations: 176.3 MB / 1.153 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008224/0.8985, allocations: 4.878 MB / 1.158 GB, free: 0.5586 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001397/0.8999, allocations: 43.62 kB / 1.158 GB, free: 0.5156 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001694/0.9016, allocations: 0.6219 MB / 1.159 GB, free: 15.89 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004894/0.9065, allocations: 1.889 MB / 1.161 GB, free: 14 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002428/0.909, allocations: 0.9089 MB / 1.161 GB, free: 13.09 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003254/0.9122, allocations: 3.011 MB / 1.164 GB, free: 10.07 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.9133, allocations: 0.7375 MB / 1.165 GB, free: 9.328 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00165/0.9149, allocations: 0.9843 MB / 1.166 GB, free: 8.34 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/0.916, allocations: 0.9145 MB / 1.167 GB, free: 7.422 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.9162, allocations: 44 kB / 1.167 GB, free: 7.379 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002179/0.9183, allocations: 0.9431 MB / 1.168 GB, free: 6.434 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003811/0.9187, allocations: 394.7 kB / 1.168 GB, free: 6.047 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002838/0.919, allocations: 261 kB / 1.169 GB, free: 5.785 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.9205, allocations: 1.348 MB / 1.17 GB, free: 4.434 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.9205, allocations: 0 / 1.17 GB, free: 4.434 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.577e-06/0.9205, allocations: 4 kB / 1.17 GB, free: 4.43 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.64e-05/0.9206, allocations: 0 / 1.17 GB, free: 4.43 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.004172/0.9247, allocations: 1.689 MB / 1.172 GB, free: 2.684 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.9248, allocations: 8.031 kB / 1.172 GB, free: 2.676 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001748/0.925, allocations: 139.5 kB / 1.172 GB, free: 2.531 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003483/0.9285, allocations: 0.7045 MB / 1.172 GB, free: 1.824 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.9297, allocations: 0.8367 MB / 1.173 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.573e-05/0.9298, allocations: 69.95 kB / 1.173 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.9299, allocations: 84 kB / 1.173 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002795/0.9327, allocations: 1.478 MB / 1.175 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.9328, allocations: 3.938 kB / 1.175 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.9329, allocations: 43.97 kB / 1.175 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-05/0.9329, allocations: 45.98 kB / 1.175 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00365/0.9366, allocations: 1.534 MB / 1.176 GB, free: 13.6 MB / 0.9356 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.006469/0.9431, allocations: 5.495 MB / 1.182 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003316/0.9464, allocations: 1.319 MB / 1.183 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001527/0.9479, allocations: 0.6632 MB / 1.184 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008212/0.9488, allocations: 0.5968 MB / 1.184 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001688/0.9505, allocations: 0.7263 MB / 1.185 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=80): time 3.106e-06/0.9505, allocations: 3.938 kB / 1.185 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of matching and sorting (n=80): time 0.005274/0.9558, allocations: 1.898 MB / 1.187 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.9558, allocations: 64.06 kB / 1.187 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.9575, allocations: 1.223 MB / 1.188 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.361e-05/0.9576, allocations: 49.69 kB / 1.188 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000476/0.9581, allocations: 0.583 MB / 1.189 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002428/0.9583, allocations: 276.2 kB / 1.189 GB, free: 256 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.034e-05/0.9584, allocations: 19.94 kB / 1.189 GB, free: 236 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.9586, allocations: 338 kB / 1.189 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/0.96, allocations: 0.5484 MB / 1.19 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/0.9616, allocations: 0.8252 MB / 1.191 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/0.9631, allocations: 0.5965 MB / 1.191 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.9632, allocations: 0 / 1.191 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003525/0.9667, allocations: 1.51 MB / 1.193 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.9667, allocations: 8 kB / 1.193 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.9667, allocations: 11.95 kB / 1.193 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.9668, allocations: 16 kB / 1.193 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/0.9681, allocations: 304 kB / 1.193 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.581e-05/0.9682, allocations: 15.94 kB / 1.193 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.9696, allocations: 226.7 kB / 1.193 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.9697, allocations: 51.97 kB / 1.193 GB, free: 11.68 MB / 0.9512 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006144/0.9703, allocations: 337.2 kB / 1.194 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002443/0.9706, allocations: 142.3 kB / 1.194 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003767/0.9744, allocations: 1.424 MB / 1.195 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.9744, allocations: 11.95 kB / 1.195 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.9744, allocations: 0 / 1.195 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.9744, allocations: 3.984 kB / 1.195 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005684/0.9801, allocations: 2.815 MB / 1.198 GB, free: 6.828 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.9801, allocations: 4 kB / 1.198 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/0.9814, allocations: 224.2 kB / 1.198 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-05/0.9814, allocations: 15.95 kB / 1.198 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.008e-05/0.9815, allocations: 31.97 kB / 1.198 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.117e-05/0.9815, allocations: 11.94 kB / 1.198 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.9815, allocations: 4 kB / 1.198 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005095/0.9866, allocations: 2.271 MB / 1.2 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005348/0.9872, allocations: 307.2 kB / 1.201 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002218/0.9874, allocations: 27.94 kB / 1.201 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.9885, allocations: 139.8 kB / 1.201 GB, free: 3.727 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.9886, allocations: 56.44 kB / 1.201 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.211e-05/0.9887, allocations: 43.92 kB / 1.201 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001082/0.9898, allocations: 0.8445 MB / 1.202 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of sort global known variables: time 5.11e-07/0.9898, allocations: 7.938 kB / 1.202 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001028/0.9909, allocations: 315.6 kB / 1.202 GB, free: 2.465 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006409/0.9973, allocations: 3.26 MB / 1.205 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003385/1.001, allocations: 1.294 MB / 1.207 GB, free: 14 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/1.001, allocations: 4 kB / 1.207 GB, free: 14 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001673/1.002, allocations: 0.6521 MB / 1.207 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002681/1.005, allocations: 0.5648 MB / 1.208 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01582/1.021, allocations: 8.647 MB / 1.216 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008011/1.022, allocations: 1.179 MB / 1.217 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00156/1.023, allocations: 330 kB / 1.218 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008241/1.024, allocations: 0.4953 MB / 1.218 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of SimCode: time 1.233e-06/1.024, allocations: 0 / 1.218 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05495/1.079, allocations: 32.17 MB / 1.25 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/1.079, allocations: 250.6 kB / 1.25 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.658/3.738, allocations: 0 / 1.25 GB, free: 1.617 MB / 0.9981 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/linux/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=50 --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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat does not exist to compare? outputFormat=mat