Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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_X_wSetOnly,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_10_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.0015/0.0015, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001702/0.001702, allocations: 196.2 kB / 16.14 MB, free: 6.691 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.403/1.403, allocations: 222.9 MB / 239.8 MB, free: 4.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.523/2.523, allocations: 437 MB / 0.7099 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 59.91 kB / 0.8686 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6157/0.6172, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.188/0.8052, allocations: 191.6 MB / 1.204 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007851/0.8131, allocations: 5.192 MB / 1.209 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007023/0.8138, allocations: 43.69 kB / 1.209 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.8153, allocations: 0.7194 MB / 1.21 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004653/0.82, allocations: 2.447 MB / 1.212 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.822, allocations: 0.998 MB / 1.213 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00288/0.8249, allocations: 3.541 MB / 1.216 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009289/0.8258, allocations: 0.8248 MB / 1.217 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/0.8271, allocations: 1.008 MB / 1.218 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009561/0.8281, allocations: 0.9845 MB / 1.219 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.8282, allocations: 48 kB / 1.219 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002979/0.8312, allocations: 2.069 MB / 1.221 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003631/0.8316, allocations: 418.5 kB / 1.222 GB, free: 168 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005415/0.8321, allocations: 0.6097 MB / 1.222 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002388/0.8345, allocations: 2.216 MB / 1.224 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.8345, allocations: 4 kB / 1.224 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of FrontEnd: time 7.52e-07/0.8346, allocations: 0 / 1.224 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.8346, allocations: 4 kB / 1.224 GB, free: 13.32 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.004479/0.8391, allocations: 1.918 MB / 1.226 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.8391, allocations: 8.031 kB / 1.226 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001549/0.8393, allocations: 139.5 kB / 1.226 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003713/0.843, allocations: 0.6654 MB / 1.227 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.8442, allocations: 0.8824 MB / 1.228 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.079e-05/0.8443, allocations: 66 kB / 1.228 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.8445, allocations: 87.97 kB / 1.228 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002797/0.8473, allocations: 1.474 MB / 1.23 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.8473, allocations: 3.938 kB / 1.23 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.431e-05/0.8474, allocations: 36 kB / 1.23 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.867e-05/0.8474, allocations: 45.98 kB / 1.23 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003679/0.8511, allocations: 1.53 MB / 1.231 GB, free: 6.27 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.006192/0.8573, allocations: 5.467 MB / 1.236 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003264/0.8606, allocations: 1.281 MB / 1.238 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001516/0.8621, allocations: 0.6624 MB / 1.238 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007825/0.8629, allocations: 0.5773 MB / 1.239 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00168/0.8646, allocations: 0.7227 MB / 1.24 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=80): time 2.455e-06/0.8646, allocations: 0 / 1.24 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of matching and sorting (n=80): time 0.00502/0.8697, allocations: 1.87 MB / 1.241 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.8697, allocations: 68.05 kB / 1.241 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.8709, allocations: 1.242 MB / 1.243 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.99e-05/0.871, allocations: 41.7 kB / 1.243 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003814/0.8714, allocations: 0.5792 MB / 1.243 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.8716, allocations: 272.2 kB / 1.244 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002689/0.8719, allocations: 186.4 kB / 1.244 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.872, allocations: 341.9 kB / 1.244 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/0.8734, allocations: 0.5405 MB / 1.245 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/0.8751, allocations: 0.8252 MB / 1.245 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002957/0.878, allocations: 1.321 MB / 1.247 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.878, allocations: 4.094 kB / 1.247 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003435/0.8815, allocations: 1.494 MB / 1.248 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.8815, allocations: 11.94 kB / 1.248 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.8815, allocations: 8.844 kB / 1.248 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.8816, allocations: 12 kB / 1.248 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.8829, allocations: 295.6 kB / 1.248 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.8829, allocations: 15.94 kB / 1.248 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.8841, allocations: 214.7 kB / 1.249 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-05/0.8842, allocations: 51.97 kB / 1.249 GB, free: 3.496 MB / 0.9981 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.0004392/0.8847, allocations: 339.6 kB / 1.249 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.8849, allocations: 138.2 kB / 1.249 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003474/0.8883, allocations: 1.405 MB / 1.251 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.8884, allocations: 8 kB / 1.251 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.8884, allocations: 4 kB / 1.251 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.8884, allocations: 7.984 kB / 1.251 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4659/1.354, allocations: 2.794 MB / 1.253 GB, free: 234.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/1.354, allocations: 8.438 kB / 1.253 GB, free: 234.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/1.356, allocations: 221.3 kB / 1.254 GB, free: 234.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.592e-05/1.356, allocations: 6.312 kB / 1.254 GB, free: 234.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.942e-05/1.356, allocations: 31.45 kB / 1.254 GB, free: 234.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-05/1.356, allocations: 13.55 kB / 1.254 GB, free: 234.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/1.356, allocations: 5.5 kB / 1.254 GB, free: 234.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005636/1.361, allocations: 2.247 MB / 1.256 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000594/1.362, allocations: 296.4 kB / 1.256 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/1.362, allocations: 27.06 kB / 1.256 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/1.363, allocations: 128.2 kB / 1.256 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/1.363, allocations: 69.53 kB / 1.256 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.213e-05/1.364, allocations: 35.06 kB / 1.256 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001147/1.365, allocations: 0.8527 MB / 1.257 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.365, allocations: 1.438 kB / 1.257 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001038/1.366, allocations: 315.8 kB / 1.257 GB, free: 232.9 MB / 0.9981 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.006666/1.372, allocations: 3.223 MB / 1.261 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003861/1.376, allocations: 1.28 MB / 1.262 GB, free: 231.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.376, allocations: 0.5625 kB / 1.262 GB, free: 231.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001967/1.378, allocations: 0.6413 MB / 1.262 GB, free: 231 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002821/1.381, allocations: 0.5603 MB / 1.263 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02308/1.404, allocations: 12.12 MB / 1.275 GB, free: 224.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007521/1.405, allocations: 1.171 MB / 1.276 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001723/1.407, allocations: 348 kB / 1.276 GB, free: 223.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006646/1.407, allocations: 0.4897 MB / 1.277 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of SimCode: time 9.61e-07/1.407, allocations: 5.25 kB / 1.277 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5592/1.967, allocations: 32.43 MB / 1.308 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/1.967, allocations: 263 kB / 1.309 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.932/4.899, allocations: 1.094 kB / 1.309 GB, free: 195.3 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)