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.001165/0.001165, allocations: 108 kB / 15.61 MB, free: 152 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.001327/0.001327, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.406/1.406, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.589/2.589, allocations: 437.1 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.00142, allocations: 67.89 kB / 0.8693 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7214/0.7229, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2067/0.9297, allocations: 193.8 MB / 1.207 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009143/0.9388, allocations: 5.148 MB / 1.212 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001851/0.9407, allocations: 51.62 kB / 1.212 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001952/0.9427, allocations: 0.8042 MB / 1.213 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006471/0.9492, allocations: 2.602 MB / 1.215 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.952, allocations: 1.11 MB / 1.216 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003138/0.9551, allocations: 2.59 MB / 1.219 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/0.9566, allocations: 0.8922 MB / 1.22 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/0.9586, allocations: 1.066 MB / 1.221 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.9601, allocations: 0.9612 MB / 1.222 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002844/0.9604, allocations: 80 kB / 1.222 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003348/0.9638, allocations: 1.785 MB / 1.223 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005428/0.9643, allocations: 438.6 kB / 1.224 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001011/0.9653, allocations: 0.6449 MB / 1.224 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003568/0.9689, allocations: 2.142 MB / 1.227 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.9689, allocations: 3.938 kB / 1.227 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9689, allocations: 0 / 1.227 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.882e-05/0.969, allocations: 0 / 1.227 GB, free: 11.54 MB / 0.9825 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.005167/0.9742, allocations: 1.93 MB / 1.228 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.9742, allocations: 8.031 kB / 1.228 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002261/0.9745, allocations: 135.5 kB / 1.229 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004435/0.9789, allocations: 0.7122 MB / 1.229 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/0.9804, allocations: 0.8903 MB / 1.23 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.567e-05/0.9805, allocations: 66 kB / 1.23 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/0.9807, allocations: 91.92 kB / 1.23 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003227/0.984, allocations: 1.461 MB / 1.232 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.984, allocations: 4 kB / 1.232 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.9841, allocations: 39.98 kB / 1.232 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.278e-05/0.9842, allocations: 45.98 kB / 1.232 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004231/0.9884, allocations: 1.553 MB / 1.233 GB, free: 4.434 MB / 0.9825 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.007686/0.9961, allocations: 5.049 MB / 1.238 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0035/0.9996, allocations: 1.187 MB / 1.239 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001762/1.001, allocations: 0.6623 MB / 1.24 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/1.003, allocations: 0.9371 MB / 1.241 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001946/1.005, allocations: 0.7225 MB / 1.242 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 5.09e-06/1.005, allocations: 0 / 1.242 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.006235/1.011, allocations: 1.956 MB / 1.244 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/1.011, allocations: 60.06 kB / 1.244 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/1.013, allocations: 1.264 MB / 1.245 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/1.013, allocations: 49.69 kB / 1.245 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000504/1.013, allocations: 0.5716 MB / 1.245 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000356/1.014, allocations: 288 kB / 1.246 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003416/1.014, allocations: 190.5 kB / 1.246 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.014, allocations: 345.9 kB / 1.246 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001667/1.016, allocations: 0.5367 MB / 1.247 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001849/1.018, allocations: 0.8247 MB / 1.248 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00335/1.021, allocations: 1.34 MB / 1.249 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/1.021, allocations: 4 kB / 1.249 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004099/1.025, allocations: 1.522 MB / 1.25 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/1.025, allocations: 9.25 kB / 1.25 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/1.025, allocations: 4 kB / 1.25 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.004e-05/1.025, allocations: 12.75 kB / 1.25 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/1.027, allocations: 299.5 kB / 1.251 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.944e-05/1.027, allocations: 19.92 kB / 1.251 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/1.028, allocations: 206.6 kB / 1.251 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/1.029, allocations: 43.98 kB / 1.251 GB, free: 1.629 MB / 0.9981 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.0005943/1.029, allocations: 337.2 kB / 1.251 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002939/1.03, allocations: 134.3 kB / 1.251 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5448/1.574, allocations: 1.45 MB / 1.253 GB, free: 234 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/1.574, allocations: 8.625 kB / 1.253 GB, free: 234 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/1.574, allocations: 0 / 1.253 GB, free: 234 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.35e-05/1.574, allocations: 8.734 kB / 1.253 GB, free: 234 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007198/1.582, allocations: 2.856 MB / 1.256 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/1.582, allocations: 7.656 kB / 1.256 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/1.583, allocations: 226.2 kB / 1.256 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-05/1.583, allocations: 7.656 kB / 1.256 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-05/1.583, allocations: 26.42 kB / 1.256 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-05/1.583, allocations: 8.531 kB / 1.256 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/1.583, allocations: 10.98 kB / 1.256 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006475/1.59, allocations: 2.309 MB / 1.258 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006976/1.59, allocations: 299.1 kB / 1.258 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003454/1.591, allocations: 26.48 kB / 1.258 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/1.592, allocations: 108.2 kB / 1.259 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/1.592, allocations: 66.55 kB / 1.259 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.725e-05/1.592, allocations: 36.05 kB / 1.259 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001542/1.594, allocations: 0.8739 MB / 1.26 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/1.594, allocations: 0 / 1.26 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001416/1.595, allocations: 324.7 kB / 1.26 GB, free: 231.8 MB / 0.9981 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.007631/1.603, allocations: 3.28 MB / 1.263 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004905/1.608, allocations: 1.433 MB / 1.264 GB, free: 230 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/1.608, allocations: 1.281 kB / 1.264 GB, free: 230 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001852/1.61, allocations: 0.6595 MB / 1.265 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003176/1.613, allocations: 0.6252 MB / 1.266 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02272/1.636, allocations: 11.96 MB / 1.277 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006648/1.637, allocations: 1.173 MB / 1.278 GB, free: 222.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001512/1.638, allocations: 346.3 kB / 1.279 GB, free: 222.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006381/1.639, allocations: 497.8 kB / 1.279 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of SimCode: time 7.02e-07/1.639, allocations: 1.312 kB / 1.279 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0592/1.698, allocations: 34.64 MB / 1.313 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.423/10.12, allocations: 9.484 kB / 1.313 GB, free: 191.1 MB / 0.9981 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)