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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00122/0.00122, allocations: 108 kB / 15.6 MB, free: 132 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.001149/0.001149, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.266/1.266, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.283/2.283, allocations: 390.3 MB / 0.6647 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.89 kB / 0.8126 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5042/0.5055, allocations: 140.4 MB / 0.9497 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1666/0.6722, allocations: 176.1 MB / 1.122 GB, free: 1.109 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01531/0.6876, allocations: 12.72 MB / 1.134 GB, free: 4.348 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000992/0.6886, allocations: 39.81 kB / 1.134 GB, free: 4.309 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.6898, allocations: 444.6 kB / 1.135 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002519/0.6924, allocations: 0.9671 MB / 1.135 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003946/0.6963, allocations: 1.858 MB / 1.137 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002407/0.6987, allocations: 2.4 MB / 1.14 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002046/0.7008, allocations: 1.633 MB / 1.141 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003204/0.704, allocations: 1.394 MB / 1.143 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.7051, allocations: 0.8596 MB / 1.143 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002983/0.7054, allocations: 172 kB / 1.144 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002183/0.7076, allocations: 1.4 MB / 1.145 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003877/0.708, allocations: 490.5 kB / 1.145 GB, free: 8.68 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008121/0.7088, allocations: 0.8474 MB / 1.146 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002641/0.7115, allocations: 2.711 MB / 1.149 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.7115, allocations: 4 kB / 1.149 GB, free: 5.105 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7115, allocations: 0 / 1.149 GB, free: 5.105 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.53e-05/0.7115, allocations: 0 / 1.149 GB, free: 5.105 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.003059/0.7146, allocations: 2.005 MB / 1.151 GB, free: 3.039 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.7146, allocations: 12.03 kB / 1.151 GB, free: 3.027 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002184/0.7148, allocations: 206.7 kB / 1.151 GB, free: 2.816 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002603/0.7175, allocations: 409.5 kB / 1.151 GB, free: 2.414 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.7188, allocations: 0.9878 MB / 1.152 GB, free: 1.383 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.22e-05/0.7189, allocations: 102.7 kB / 1.153 GB, free: 1.281 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.7191, allocations: 128 kB / 1.153 GB, free: 1.156 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002393/0.7215, allocations: 1.52 MB / 1.154 GB, free: 15.56 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.7215, allocations: 11.94 kB / 1.154 GB, free: 15.55 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.7216, allocations: 56 kB / 1.154 GB, free: 15.49 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/0.7217, allocations: 36 kB / 1.154 GB, free: 15.46 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00263/0.7243, allocations: 1.579 MB / 1.156 GB, free: 13.87 MB / 0.92 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.006409/0.7307, allocations: 5.09 MB / 1.161 GB, free: 8.52 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002597/0.7333, allocations: 1.53 MB / 1.162 GB, free: 6.91 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008513/0.7342, allocations: 485 kB / 1.163 GB, free: 6.438 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007101/0.7349, allocations: 421.3 kB / 1.163 GB, free: 5.953 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/0.7361, allocations: 0.688 MB / 1.164 GB, free: 5.242 MB / 0.92 GB Notification: Performance of pre-optimization done (n=107): time 2.565e-06/0.7361, allocations: 0 / 1.164 GB, free: 5.242 MB / 0.92 GB Notification: Performance of matching and sorting (n=107): time 0.004239/0.7404, allocations: 1.676 MB / 1.165 GB, free: 3.543 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.141e-05/0.7405, allocations: 188.9 kB / 1.166 GB, free: 3.312 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.7416, allocations: 0.8883 MB / 1.166 GB, free: 2.402 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.529e-05/0.7417, allocations: 49.7 kB / 1.166 GB, free: 2.348 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004133/0.7421, allocations: 0.5935 MB / 1.167 GB, free: 1.746 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/0.7424, allocations: 358.9 kB / 1.167 GB, free: 1.391 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002995/0.7427, allocations: 194.5 kB / 1.168 GB, free: 1.195 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.7428, allocations: 345.9 kB / 1.168 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000771/0.7436, allocations: 377.8 kB / 1.168 GB, free: 496 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009417/0.7445, allocations: 0.5632 MB / 1.169 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/0.7463, allocations: 0.9293 MB / 1.17 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.7463, allocations: 4 kB / 1.17 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002647/0.7489, allocations: 1.188 MB / 1.171 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.749, allocations: 8 kB / 1.171 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.749, allocations: 0 / 1.171 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006069/0.7496, allocations: 89.17 kB / 1.171 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.7507, allocations: 243.6 kB / 1.171 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.7527, allocations: 1.654 MB / 1.173 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009256/0.7537, allocations: 132.5 kB / 1.173 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.654e-05/0.7538, allocations: 43.97 kB / 1.173 GB, free: 11.38 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.0004826/0.7543, allocations: 342 kB / 1.173 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/0.7545, allocations: 126.5 kB / 1.173 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003267/0.7578, allocations: 1.441 MB / 1.175 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.7578, allocations: 12 kB / 1.175 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.7578, allocations: 0 / 1.175 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.7578, allocations: 7.969 kB / 1.175 GB, free: 9.434 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.004591/0.7624, allocations: 2.889 MB / 1.178 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.7624, allocations: 0 / 1.178 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.7635, allocations: 219.7 kB / 1.178 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004652/0.7639, allocations: 80.72 kB / 1.178 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-05/0.764, allocations: 35.97 kB / 1.178 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001876/0.7659, allocations: 1.666 MB / 1.18 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7659, allocations: 0 / 1.18 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002714/0.7687, allocations: 1.324 MB / 1.181 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004865/0.7692, allocations: 359.2 kB / 1.181 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/0.7693, allocations: 27.94 kB / 1.181 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009648/0.7703, allocations: 71.92 kB / 1.181 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/0.7705, allocations: 92.88 kB / 1.181 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.7706, allocations: 51.95 kB / 1.182 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007792/0.7714, allocations: 0.615 MB / 1.182 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7714, allocations: 0 / 1.182 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001064/0.7725, allocations: 482.7 kB / 1.183 GB, free: 1.262 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.004459/0.7769, allocations: 2.476 MB / 1.185 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003399/0.7803, allocations: 1.441 MB / 1.186 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.7804, allocations: 7.938 kB / 1.186 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001264/0.7816, allocations: 0.6681 MB / 1.187 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/0.7838, allocations: 0.5245 MB / 1.188 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01542/0.7992, allocations: 9.543 MB / 1.197 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007856/0.8, allocations: 1.213 MB / 1.198 GB, free: 1.145 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0014/0.8014, allocations: 381.8 kB / 1.198 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007812/0.8022, allocations: 0.5695 MB / 1.199 GB, free: 204 kB / 0.9512 GB Notification: Performance of SimCode: time 3.1e-07/0.8022, allocations: 4 kB / 1.199 GB, free: 200 kB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4489/1.251, allocations: 33.11 MB / 1.231 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.56/19.81, allocations: 16.3 kB / 1.231 GB, free: 15.49 MB / 0.9981 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)