Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_latest_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.001436/0.001436, 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.001696/0.001696, allocations: 199.1 kB / 16.54 MB, free: 6.672 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.224/1.224, 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 11.0.1-master/package.mo): time 2.35/2.35, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 75.14 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2286, allocations: 157.4 MB / 1.053 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1598/0.3884, allocations: 176.8 MB / 1.226 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01462/0.403, allocations: 12.81 MB / 1.238 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009789/0.404, allocations: 31.88 kB / 1.238 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.4054, allocations: 472.3 kB / 1.239 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00269/0.4081, allocations: 1.037 MB / 1.24 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003905/0.412, allocations: 1.853 MB / 1.241 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0026/0.4146, allocations: 2.52 MB / 1.244 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002096/0.4167, allocations: 1.603 MB / 1.245 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003207/0.4199, allocations: 1.41 MB / 1.247 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.4211, allocations: 0.887 MB / 1.248 GB, free: 100 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.4466/0.8677, allocations: 170.7 kB / 1.248 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002875/0.8706, allocations: 1.39 MB / 1.249 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005983/0.8712, allocations: 0.4943 MB / 1.25 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00135/0.8726, allocations: 0.8729 MB / 1.25 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003513/0.8761, allocations: 2.754 MB / 1.253 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.8761, allocations: 0 / 1.253 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8761, allocations: 0 / 1.253 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.851e-05/0.8762, allocations: 1.438 kB / 1.253 GB, free: 7.086 MB / 0.9981 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.002666/0.8788, allocations: 2.027 MB / 1.255 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.8789, allocations: 10.88 kB / 1.255 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001993/0.8791, allocations: 199 kB / 1.255 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002313/0.8814, allocations: 409.9 kB / 1.256 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.8825, allocations: 0.993 MB / 1.257 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.449e-05/0.8826, allocations: 100.8 kB / 1.257 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.8828, allocations: 136.2 kB / 1.257 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/0.8848, allocations: 1.521 MB / 1.258 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.8849, allocations: 7.5 kB / 1.258 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.885, allocations: 60.38 kB / 1.258 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.885, allocations: 32 kB / 1.259 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/0.8873, allocations: 1.583 MB / 1.26 GB, free: 5.367 MB / 0.9981 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.005803/0.8931, allocations: 5.338 MB / 1.265 GB, free: 18.87 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002493/0.8956, allocations: 1.518 MB / 1.267 GB, free: 18.46 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008486/0.8965, allocations: 479.5 kB / 1.267 GB, free: 18.45 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007125/0.8972, allocations: 430.8 kB / 1.268 GB, free: 18.08 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001141/0.8983, allocations: 0.6909 MB / 1.268 GB, free: 18.01 MB / 1.014 GB Notification: Performance of pre-optimization done (n=107): time 2.574e-06/0.8983, allocations: 0.8438 kB / 1.268 GB, free: 18.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=107): time 0.004064/0.9024, allocations: 1.67 MB / 1.27 GB, free: 17.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.263e-05/0.9025, allocations: 195.7 kB / 1.27 GB, free: 17.58 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.9037, allocations: 0.8932 MB / 1.271 GB, free: 17.43 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.886e-05/0.9038, allocations: 49.08 kB / 1.271 GB, free: 17.39 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003967/0.9042, allocations: 0.5964 MB / 1.272 GB, free: 17.14 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/0.9045, allocations: 349.7 kB / 1.272 GB, free: 16.93 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003328/0.9048, allocations: 200 kB / 1.272 GB, free: 16.9 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.9049, allocations: 344.9 kB / 1.272 GB, free: 16.6 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008244/0.9058, allocations: 377.5 kB / 1.273 GB, free: 16.59 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009085/0.9067, allocations: 0.5691 MB / 1.273 GB, free: 16.42 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/0.9082, allocations: 0.9311 MB / 1.274 GB, free: 16.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.9082, allocations: 2.156 kB / 1.274 GB, free: 16.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002342/0.9105, allocations: 1.185 MB / 1.275 GB, free: 16.17 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.9106, allocations: 6.453 kB / 1.275 GB, free: 16.17 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.9106, allocations: 4.406 kB / 1.275 GB, free: 16.17 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005515/0.9111, allocations: 86.03 kB / 1.276 GB, free: 16.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009832/0.9121, allocations: 246.7 kB / 1.276 GB, free: 16.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001801/0.9139, allocations: 1.651 MB / 1.277 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008622/0.9148, allocations: 133.1 kB / 1.278 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-05/0.9149, allocations: 48.16 kB / 1.278 GB, free: 14.73 MB / 1.014 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.0004421/0.9154, allocations: 338.7 kB / 1.278 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.9156, allocations: 123.8 kB / 1.278 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002873/0.9184, allocations: 1.433 MB / 1.279 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.9185, allocations: 12.38 kB / 1.279 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.9185, allocations: 3.75 kB / 1.279 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.9185, allocations: 6.328 kB / 1.279 GB, free: 14.45 MB / 1.014 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.003976/0.9225, allocations: 2.89 MB / 1.282 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.9225, allocations: 0 / 1.282 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008935/0.9234, allocations: 220.3 kB / 1.282 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003954/0.9238, allocations: 73.38 kB / 1.283 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-05/0.9239, allocations: 36.3 kB / 1.283 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/0.9255, allocations: 1.674 MB / 1.284 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.9255, allocations: 5.875 kB / 1.284 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/0.9279, allocations: 1.315 MB / 1.285 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004073/0.9283, allocations: 356.2 kB / 1.286 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.9285, allocations: 31.88 kB / 1.286 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008624/0.9293, allocations: 85.17 kB / 1.286 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.9295, allocations: 83.39 kB / 1.286 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.11e-05/0.9296, allocations: 52.61 kB / 1.286 GB, free: 12.14 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006946/0.9303, allocations: 0.6201 MB / 1.287 GB, free: 12.03 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9303, allocations: 0 / 1.287 GB, free: 12.03 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00112/0.9314, allocations: 493.3 kB / 1.287 GB, free: 11.95 MB / 1.014 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.003846/0.9353, allocations: 2.494 MB / 1.29 GB, free: 11.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002961/0.9382, allocations: 1.436 MB / 1.291 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.9383, allocations: 1.375 kB / 1.291 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.9393, allocations: 0.6733 MB / 1.292 GB, free: 10.84 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/0.9413, allocations: 0.5376 MB / 1.292 GB, free: 10.77 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/0.9532, allocations: 9.424 MB / 1.301 GB, free: 7.523 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006312/0.9539, allocations: 1.214 MB / 1.303 GB, free: 6.801 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001267/0.9552, allocations: 384.9 kB / 1.303 GB, free: 6.746 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005865/0.9557, allocations: 0.5666 MB / 1.303 GB, free: 6.742 MB / 1.014 GB Notification: Performance of SimCode: time 4.41e-07/0.9558, allocations: 7.812 kB / 1.303 GB, free: 6.738 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8855/1.841, allocations: 33.69 MB / 1.336 GB, free: 14.22 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/13.84, allocations: 7.562 kB / 1.336 GB, free: 14.22 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)