Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",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.0009198/0.0009199, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006498/0.006498, allocations: 170 kB / 16.27 MB, free: 6.66 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.194/1.194, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.049/2.049, allocations: 390.9 MB / 0.6664 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002742/0.0002741, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4794/0.4797, allocations: 142.4 MB / 0.9552 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1434/0.6232, allocations: 171.4 MB / 1.123 GB, free: 3.266 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01303/0.6362, allocations: 12.58 MB / 1.135 GB, free: 6.648 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007697/0.637, allocations: 31.81 kB / 1.135 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008965/0.6379, allocations: 357.7 kB / 1.135 GB, free: 6.266 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002022/0.6399, allocations: 0.8729 MB / 1.136 GB, free: 5.391 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003221/0.6432, allocations: 1.667 MB / 1.138 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002407/0.6456, allocations: 2.743 MB / 1.14 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001662/0.6473, allocations: 1.397 MB / 1.142 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003397/0.6507, allocations: 1.138 MB / 1.143 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007815/0.6515, allocations: 0.7151 MB / 1.144 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.6516, allocations: 44 kB / 1.144 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001909/0.6535, allocations: 1.419 MB / 1.145 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002633/0.6538, allocations: 346.5 kB / 1.145 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005288/0.6543, allocations: 0.7046 MB / 1.146 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002101/0.6564, allocations: 2.632 MB / 1.149 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.6564, allocations: 0 / 1.149 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6564, allocations: 0 / 1.149 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.6565, allocations: 0 / 1.149 GB, free: 8.543 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.002437/0.6589, allocations: 1.674 MB / 1.15 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.6589, allocations: 8.031 kB / 1.15 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002035/0.6592, allocations: 206.7 kB / 1.15 GB, free: 6.59 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002275/0.6614, allocations: 421.5 kB / 1.151 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.6626, allocations: 0.9956 MB / 1.152 GB, free: 5.133 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.938e-05/0.6627, allocations: 102.7 kB / 1.152 GB, free: 5.031 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.6629, allocations: 132 kB / 1.152 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/0.665, allocations: 1.526 MB / 1.154 GB, free: 3.301 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.6651, allocations: 7.938 kB / 1.154 GB, free: 3.293 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.6652, allocations: 60 kB / 1.154 GB, free: 3.234 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.878e-05/0.6652, allocations: 32 kB / 1.154 GB, free: 3.203 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002308/0.6675, allocations: 1.595 MB / 1.155 GB, free: 1.602 MB / 0.9044 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.005719/0.6733, allocations: 5.116 MB / 1.16 GB, free: 12.23 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002256/0.6755, allocations: 1.525 MB / 1.162 GB, free: 10.62 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000769/0.6763, allocations: 492.1 kB / 1.162 GB, free: 10.14 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006335/0.677, allocations: 437.3 kB / 1.163 GB, free: 9.637 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001041/0.678, allocations: 0.6919 MB / 1.163 GB, free: 8.93 MB / 0.92 GB Notification: Performance of pre-optimization done (n=107): time 2.103e-06/0.678, allocations: 0 / 1.163 GB, free: 8.93 MB / 0.92 GB Notification: Performance of matching and sorting (n=107): time 0.003705/0.6817, allocations: 1.684 MB / 1.165 GB, free: 7.215 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.925e-05/0.6818, allocations: 192.9 kB / 1.165 GB, free: 6.984 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009254/0.6828, allocations: 0.8922 MB / 1.166 GB, free: 6.07 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.445e-05/0.6828, allocations: 49.7 kB / 1.166 GB, free: 6.016 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003622/0.6832, allocations: 0.5936 MB / 1.167 GB, free: 5.414 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/0.6835, allocations: 354.9 kB / 1.167 GB, free: 5.062 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.6836, allocations: 85.67 kB / 1.167 GB, free: 4.973 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.6837, allocations: 341.9 kB / 1.167 GB, free: 4.633 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006855/0.6844, allocations: 381.7 kB / 1.168 GB, free: 4.262 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008101/0.6852, allocations: 0.5721 MB / 1.168 GB, free: 3.625 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.6867, allocations: 0.9371 MB / 1.169 GB, free: 2.648 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.6867, allocations: 4 kB / 1.169 GB, free: 2.645 MB / 0.92 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002242/0.6889, allocations: 1.196 MB / 1.17 GB, free: 1.438 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.689, allocations: 8 kB / 1.17 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.689, allocations: 3.984 kB / 1.17 GB, free: 1.426 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005266/0.6895, allocations: 89.12 kB / 1.17 GB, free: 1.336 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009625/0.6905, allocations: 243.7 kB / 1.171 GB, free: 1.098 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/0.6922, allocations: 1.538 MB / 1.172 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008565/0.693, allocations: 158.9 kB / 1.172 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.359e-05/0.6931, allocations: 51.89 kB / 1.172 GB, free: 15.22 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004291/0.6936, allocations: 345.5 kB / 1.173 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.6937, allocations: 122.5 kB / 1.173 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002808/0.6965, allocations: 1.445 MB / 1.174 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.6966, allocations: 12 kB / 1.174 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.6966, allocations: 0 / 1.174 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.6966, allocations: 15.97 kB / 1.174 GB, free: 13.26 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 postOpt removeSimpleEquations (simulation): time 0.003902/0.7005, allocations: 2.882 MB / 1.177 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.7005, allocations: 4 kB / 1.177 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008778/0.7014, allocations: 219.8 kB / 1.177 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004679/0.7019, allocations: 88.7 kB / 1.177 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-05/0.7019, allocations: 31.98 kB / 1.177 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001525/0.7035, allocations: 1.555 MB / 1.179 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7035, allocations: 12.03 kB / 1.179 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/0.7057, allocations: 1.328 MB / 1.18 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004014/0.7061, allocations: 371.1 kB / 1.181 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.7063, allocations: 24 kB / 1.181 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009132/0.7072, allocations: 121.8 kB / 1.181 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.7074, allocations: 88.88 kB / 1.181 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.469e-05/0.7074, allocations: 47.97 kB / 1.181 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006681/0.7081, allocations: 0.6266 MB / 1.181 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7081, allocations: 0 / 1.181 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008989/0.709, allocations: 482.8 kB / 1.182 GB, free: 5.141 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003728/0.7128, allocations: 2.469 MB / 1.184 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001834/0.7146, allocations: 1.125 MB / 1.185 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7146, allocations: 3.938 kB / 1.185 GB, free: 1.688 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.7157, allocations: 0.6875 MB / 1.186 GB, free: 0.9883 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/0.7176, allocations: 495 kB / 1.187 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/0.7323, allocations: 10.19 MB / 1.197 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006353/0.733, allocations: 1.209 MB / 1.198 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001144/0.7341, allocations: 385.8 kB / 1.198 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006721/0.7348, allocations: 0.5695 MB / 1.199 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/0.7348, allocations: 0 / 1.199 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.1/6.835, allocations: 31.62 MB / 1.229 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/6.835, allocations: 285.8 kB / 1.23 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.808/9.643, allocations: 3.938 kB / 1.23 GB, free: 4.211 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)