Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_11_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.004594/0.004594, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.00132/0.00132, allocations: 200.4 kB / 16.68 MB, free: 5.934 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.24/1.24, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.367/2.367, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 71.83 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5912/0.5929, allocations: 159.1 MB / 1.22 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1739/0.7668, allocations: 176.8 MB / 1.393 GB, free: 0.5586 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01521/0.782, allocations: 12.81 MB / 1.405 GB, free: 3.707 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009087/0.783, allocations: 31.81 kB / 1.405 GB, free: 3.676 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.7842, allocations: 468.4 kB / 1.406 GB, free: 3.215 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002497/0.7867, allocations: 1.034 MB / 1.407 GB, free: 2.18 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003704/0.7904, allocations: 1.872 MB / 1.409 GB, free: 320 kB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002667/0.7931, allocations: 2.535 MB / 1.411 GB, free: 13.77 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001797/0.7949, allocations: 1.613 MB / 1.413 GB, free: 12.09 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002941/0.7979, allocations: 1.412 MB / 1.414 GB, free: 10.71 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008934/0.7988, allocations: 0.883 MB / 1.415 GB, free: 9.82 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002138/0.799, allocations: 172 kB / 1.415 GB, free: 9.652 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002074/0.8011, allocations: 1.419 MB / 1.416 GB, free: 8.23 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004087/0.8015, allocations: 498.5 kB / 1.417 GB, free: 7.742 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0007465/0.8022, allocations: 0.8825 MB / 1.418 GB, free: 6.855 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00286/0.8051, allocations: 2.811 MB / 1.421 GB, free: 4.035 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.8051, allocations: 8 kB / 1.421 GB, free: 4.027 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8051, allocations: 0 / 1.421 GB, free: 4.027 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.8051, allocations: 0 / 1.421 GB, free: 4.027 MB / 1.139 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.002933/0.8081, allocations: 2.087 MB / 1.423 GB, free: 1.875 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.8081, allocations: 12.62 kB / 1.423 GB, free: 1.863 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002179/0.8083, allocations: 202.7 kB / 1.423 GB, free: 1.656 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002278/0.8106, allocations: 414.6 kB / 1.423 GB, free: 1.25 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/0.812, allocations: 1.039 MB / 1.424 GB, free: 168 kB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.858e-05/0.8121, allocations: 102.7 kB / 1.424 GB, free: 64 kB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.8123, allocations: 132 kB / 1.424 GB, free: 15.93 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.8146, allocations: 1.531 MB / 1.426 GB, free: 14.33 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.8146, allocations: 0 / 1.426 GB, free: 14.33 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.8147, allocations: 60 kB / 1.426 GB, free: 14.27 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/0.8148, allocations: 32 kB / 1.426 GB, free: 14.24 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002535/0.8173, allocations: 1.587 MB / 1.428 GB, free: 12.64 MB / 1.154 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.006276/0.8236, allocations: 5.304 MB / 1.433 GB, free: 7.023 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002464/0.8261, allocations: 1.514 MB / 1.434 GB, free: 5.438 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008029/0.8269, allocations: 484.1 kB / 1.435 GB, free: 4.961 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006776/0.8276, allocations: 429.3 kB / 1.435 GB, free: 4.469 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001129/0.8287, allocations: 0.6957 MB / 1.436 GB, free: 3.75 MB / 1.154 GB Notification: Performance of pre-optimization done (n=107): time 1.904e-06/0.8287, allocations: 3.938 kB / 1.436 GB, free: 3.746 MB / 1.154 GB Notification: Performance of matching and sorting (n=107): time 0.003912/0.8326, allocations: 1.665 MB / 1.437 GB, free: 2.059 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.8328, allocations: 196.9 kB / 1.438 GB, free: 1.824 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.8338, allocations: 0.8922 MB / 1.438 GB, free: 0.9102 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.899e-05/0.8339, allocations: 53.69 kB / 1.439 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004412/0.8343, allocations: 0.5986 MB / 1.439 GB, free: 252 kB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002922/0.8346, allocations: 377 kB / 1.439 GB, free: 15.87 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000294/0.8349, allocations: 198.5 kB / 1.44 GB, free: 15.67 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.8351, allocations: 345.9 kB / 1.44 GB, free: 15.32 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007255/0.8358, allocations: 377.8 kB / 1.44 GB, free: 14.96 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000889/0.8367, allocations: 0.5631 MB / 1.441 GB, free: 14.33 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/0.8384, allocations: 0.9332 MB / 1.442 GB, free: 13.36 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.8384, allocations: 0 / 1.442 GB, free: 13.36 MB / 1.17 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002409/0.8408, allocations: 1.196 MB / 1.443 GB, free: 12.15 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.8408, allocations: 4 kB / 1.443 GB, free: 12.15 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.8408, allocations: 8.391 kB / 1.443 GB, free: 12.14 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005312/0.8414, allocations: 88.77 kB / 1.443 GB, free: 12.05 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009791/0.8424, allocations: 243.7 kB / 1.443 GB, free: 11.81 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001939/0.8443, allocations: 1.649 MB / 1.445 GB, free: 10.02 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007815/0.8451, allocations: 139.1 kB / 1.445 GB, free: 9.879 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-05/0.8452, allocations: 43.97 kB / 1.445 GB, free: 9.836 MB / 1.17 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.0004576/0.8457, allocations: 341.7 kB / 1.445 GB, free: 9.492 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/0.8459, allocations: 131.2 kB / 1.446 GB, free: 9.363 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002943/0.8488, allocations: 1.429 MB / 1.447 GB, free: 7.926 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.8488, allocations: 12 kB / 1.447 GB, free: 7.914 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.8488, allocations: 0 / 1.447 GB, free: 7.914 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.8489, allocations: 7.969 kB / 1.447 GB, free: 7.906 MB / 1.17 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.004249/0.8531, allocations: 2.883 MB / 1.45 GB, free: 4.938 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.8531, allocations: 3.938 kB / 1.45 GB, free: 4.934 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009042/0.854, allocations: 219.7 kB / 1.45 GB, free: 4.719 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004028/0.8545, allocations: 80.72 kB / 1.45 GB, free: 4.637 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.066e-05/0.8545, allocations: 31.97 kB / 1.45 GB, free: 4.605 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001779/0.8563, allocations: 1.678 MB / 1.452 GB, free: 2.781 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.8563, allocations: 4.031 kB / 1.452 GB, free: 2.777 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002455/0.8588, allocations: 1.323 MB / 1.453 GB, free: 1.438 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004333/0.8592, allocations: 367.8 kB / 1.453 GB, free: 1.059 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/0.8594, allocations: 31.94 kB / 1.453 GB, free: 1.027 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008101/0.8602, allocations: 75.92 kB / 1.453 GB, free: 0.9531 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.8604, allocations: 84.88 kB / 1.454 GB, free: 0.8672 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.536e-05/0.8605, allocations: 47.97 kB / 1.454 GB, free: 0.8203 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007408/0.8612, allocations: 0.6228 MB / 1.454 GB, free: 192 kB / 1.17 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8612, allocations: 0 / 1.454 GB, free: 192 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.000975/0.8622, allocations: 0.4909 MB / 1.455 GB, free: 15.7 MB / 1.186 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.004582/0.8668, allocations: 2.488 MB / 1.457 GB, free: 13.37 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00206/0.8689, allocations: 1.117 MB / 1.458 GB, free: 12.24 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.8689, allocations: 3.906 kB / 1.458 GB, free: 12.23 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.8701, allocations: 0.6836 MB / 1.459 GB, free: 11.54 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/0.872, allocations: 0.53 MB / 1.459 GB, free: 11.04 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/0.8852, allocations: 8.926 MB / 1.468 GB, free: 1.898 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007901/0.886, allocations: 1.205 MB / 1.469 GB, free: 0.6641 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001036/0.8871, allocations: 393.8 kB / 1.47 GB, free: 284 kB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007671/0.8878, allocations: 0.5657 MB / 1.47 GB, free: 15.71 MB / 1.201 GB Notification: Performance of SimCode: time 3.11e-07/0.8878, allocations: 8 kB / 1.47 GB, free: 15.7 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.296/3.184, allocations: 33.98 MB / 1.503 GB, free: 14.18 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.12/29.3, allocations: 16.02 kB / 1.503 GB, free: 14.17 MB / 1.232 GB (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)