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.001204/0.001204, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001168/0.001168, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.195/1.195, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.066/2.066, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4552/0.4564, allocations: 140.4 MB / 0.949 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1437/0.6001, allocations: 173.8 MB / 1.119 GB, free: 3.691 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01346/0.6136, allocations: 12.76 MB / 1.131 GB, free: 6.895 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000915/0.6146, allocations: 39.75 kB / 1.131 GB, free: 6.855 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.6156, allocations: 365.6 kB / 1.132 GB, free: 6.496 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002045/0.6177, allocations: 0.8705 MB / 1.132 GB, free: 5.625 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003152/0.6209, allocations: 1.653 MB / 1.134 GB, free: 3.98 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002168/0.623, allocations: 2.751 MB / 1.137 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/0.6245, allocations: 1.49 MB / 1.138 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003178/0.6277, allocations: 1.248 MB / 1.139 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006818/0.6284, allocations: 0.84 MB / 1.14 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001575/0.6285, allocations: 92 kB / 1.14 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.6304, allocations: 1.466 MB / 1.142 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002997/0.6307, allocations: 414.5 kB / 1.142 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005545/0.6313, allocations: 0.7732 MB / 1.143 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002152/0.6334, allocations: 2.699 MB / 1.146 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.6334, allocations: 0 / 1.146 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.51e-07/0.6334, allocations: 0 / 1.146 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.6335, allocations: 0 / 1.146 GB, free: 8.16 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.002855/0.6363, allocations: 2.005 MB / 1.147 GB, free: 6.094 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.6364, allocations: 8.031 kB / 1.147 GB, free: 6.086 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001985/0.6366, allocations: 206.7 kB / 1.148 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002377/0.6389, allocations: 413.5 kB / 1.148 GB, free: 5.469 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.6401, allocations: 0.9877 MB / 1.149 GB, free: 4.438 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.856e-05/0.6402, allocations: 102.7 kB / 1.149 GB, free: 4.336 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.6404, allocations: 135.9 kB / 1.149 GB, free: 4.203 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002203/0.6426, allocations: 1.521 MB / 1.151 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.6426, allocations: 7.938 kB / 1.151 GB, free: 2.598 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.6427, allocations: 56 kB / 1.151 GB, free: 2.543 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.231e-05/0.6427, allocations: 36 kB / 1.151 GB, free: 2.508 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002334/0.6451, allocations: 1.579 MB / 1.152 GB, free: 0.9219 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.005656/0.6507, allocations: 5.075 MB / 1.157 GB, free: 11.58 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002262/0.653, allocations: 1.525 MB / 1.159 GB, free: 9.98 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000767/0.6538, allocations: 479.6 kB / 1.159 GB, free: 9.508 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006454/0.6544, allocations: 425.3 kB / 1.16 GB, free: 9.02 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.6555, allocations: 0.688 MB / 1.16 GB, free: 8.312 MB / 0.92 GB Notification: Performance of pre-optimization done (n=107): time 2.154e-06/0.6555, allocations: 7.938 kB / 1.16 GB, free: 8.305 MB / 0.92 GB Notification: Performance of matching and sorting (n=107): time 0.003741/0.6593, allocations: 1.66 MB / 1.162 GB, free: 6.617 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.906e-05/0.6594, allocations: 196.9 kB / 1.162 GB, free: 6.379 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009217/0.6603, allocations: 0.8883 MB / 1.163 GB, free: 5.469 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.57e-05/0.6604, allocations: 49.7 kB / 1.163 GB, free: 5.414 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/0.6607, allocations: 0.5935 MB / 1.164 GB, free: 4.812 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/0.661, allocations: 354.9 kB / 1.164 GB, free: 4.461 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002672/0.6613, allocations: 198.5 kB / 1.164 GB, free: 4.262 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.6614, allocations: 349.9 kB / 1.165 GB, free: 3.914 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006848/0.6621, allocations: 373.8 kB / 1.165 GB, free: 3.551 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008166/0.6629, allocations: 0.5555 MB / 1.165 GB, free: 2.93 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.6644, allocations: 0.941 MB / 1.166 GB, free: 1.949 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6644, allocations: 0 / 1.166 GB, free: 1.949 MB / 0.92 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002306/0.6667, allocations: 1.192 MB / 1.168 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.6667, allocations: 4 kB / 1.168 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.6667, allocations: 4 kB / 1.168 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005542/0.6673, allocations: 88.89 kB / 1.168 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.6683, allocations: 247.6 kB / 1.168 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/0.6701, allocations: 1.535 MB / 1.169 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008502/0.6709, allocations: 144.4 kB / 1.169 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-05/0.671, allocations: 51.91 kB / 1.17 GB, free: 14.54 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.0004197/0.6714, allocations: 346.7 kB / 1.17 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/0.6716, allocations: 118.6 kB / 1.17 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002797/0.6744, allocations: 1.441 MB / 1.171 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-06/0.6745, allocations: 19.98 kB / 1.171 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.6745, allocations: 0 / 1.171 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.6745, allocations: 7.984 kB / 1.171 GB, free: 12.59 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.003985/0.6785, allocations: 2.874 MB / 1.174 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.6785, allocations: 0 / 1.174 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009259/0.6794, allocations: 227.7 kB / 1.174 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004723/0.6799, allocations: 84.77 kB / 1.175 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.769e-05/0.68, allocations: 31.97 kB / 1.175 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00155/0.6815, allocations: 1.556 MB / 1.176 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6816, allocations: 0 / 1.176 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002325/0.6839, allocations: 1.328 MB / 1.177 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004007/0.6843, allocations: 355.2 kB / 1.178 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.6845, allocations: 23.98 kB / 1.178 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009/0.6854, allocations: 103.8 kB / 1.178 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.6855, allocations: 84.88 kB / 1.178 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.6856, allocations: 51.95 kB / 1.178 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000663/0.6863, allocations: 0.6189 MB / 1.179 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6863, allocations: 0 / 1.179 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009126/0.6872, allocations: 478.9 kB / 1.179 GB, free: 4.527 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.003777/0.691, allocations: 2.477 MB / 1.181 GB, free: 2.215 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001844/0.6929, allocations: 1.112 MB / 1.183 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.6929, allocations: 0.6875 kB / 1.183 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.6939, allocations: 0.6837 MB / 1.183 GB, free: 404 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/0.6957, allocations: 495.2 kB / 1.184 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01455/0.7103, allocations: 10.1 MB / 1.194 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006396/0.7109, allocations: 1.209 MB / 1.195 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0012/0.7121, allocations: 389.8 kB / 1.195 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006889/0.7128, allocations: 0.5656 MB / 1.196 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of SimCode: time 3e-07/0.7128, allocations: 0 / 1.196 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.951/2.664, allocations: 32 MB / 1.227 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000255/2.664, allocations: 296.7 kB / 1.227 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.237/5.901, allocations: 0 / 1.227 GB, free: 3.309 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)