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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002338/0.002338, allocations: 223.4 kB / 23.05 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.742/2.742, allocations: 476.7 MB / 0.7715 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 67.77 kB / 1.118 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3414, allocations: 169.9 MB / 1.284 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.219/0.5605, allocations: 180.6 MB / 1.46 GB, free: 14.58 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01855/0.579, allocations: 13.14 MB / 1.473 GB, free: 1.391 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/0.5804, allocations: 43.62 kB / 1.473 GB, free: 1.348 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.5818, allocations: 492.3 kB / 1.474 GB, free: 0.8633 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003075/0.5849, allocations: 1.072 MB / 1.475 GB, free: 15.79 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004944/0.5898, allocations: 1.953 MB / 1.477 GB, free: 13.84 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003583/0.5934, allocations: 2.586 MB / 1.479 GB, free: 11.25 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002306/0.5957, allocations: 1.287 MB / 1.481 GB, free: 9.898 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004435/0.6001, allocations: 1.507 MB / 1.482 GB, free: 8.414 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001648/0.6018, allocations: 0.9259 MB / 1.483 GB, free: 7.484 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004602/0.6023, allocations: 176 kB / 1.483 GB, free: 7.312 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003312/0.6056, allocations: 1.517 MB / 1.485 GB, free: 5.793 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006757/0.6062, allocations: 0.4946 MB / 1.485 GB, free: 5.297 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001415/0.6077, allocations: 0.8824 MB / 1.486 GB, free: 4.41 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004934/0.6126, allocations: 2.865 MB / 1.489 GB, free: 1.535 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.6126, allocations: 4 kB / 1.489 GB, free: 1.531 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6126, allocations: 0 / 1.489 GB, free: 1.531 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.106e-05/0.6127, allocations: 0 / 1.489 GB, free: 1.531 MB / 1.186 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.004548/0.6172, allocations: 2.032 MB / 1.491 GB, free: 15.45 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.6173, allocations: 12.03 kB / 1.491 GB, free: 15.44 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.591e-05/0.6173, allocations: 38.72 kB / 1.491 GB, free: 15.4 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003315/0.6176, allocations: 202.7 kB / 1.491 GB, free: 15.2 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00338/0.621, allocations: 466.4 kB / 1.491 GB, free: 14.74 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.623, allocations: 0.971 MB / 1.492 GB, free: 13.74 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.904e-05/0.6231, allocations: 102.7 kB / 1.492 GB, free: 13.64 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002405/0.6234, allocations: 132 kB / 1.493 GB, free: 13.51 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/0.6264, allocations: 1.517 MB / 1.494 GB, free: 11.91 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.6264, allocations: 3.938 kB / 1.494 GB, free: 11.91 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000156/0.6266, allocations: 60 kB / 1.494 GB, free: 11.85 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-05/0.6266, allocations: 35.98 kB / 1.494 GB, free: 11.82 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003083/0.6297, allocations: 1.591 MB / 1.496 GB, free: 10.22 MB / 1.201 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.008283/0.638, allocations: 5.249 MB / 1.501 GB, free: 4.656 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002669/0.6406, allocations: 1.154 MB / 1.502 GB, free: 3.504 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009055/0.6415, allocations: 440.9 kB / 1.502 GB, free: 3.07 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006346/0.6422, allocations: 116.8 kB / 1.502 GB, free: 2.953 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001397/0.6436, allocations: 0.6954 MB / 1.503 GB, free: 2.246 MB / 1.201 GB Notification: Performance of pre-optimization done (n=107): time 2.846e-06/0.6436, allocations: 0 / 1.503 GB, free: 2.246 MB / 1.201 GB Notification: Performance of matching and sorting (n=107): time 0.004592/0.6482, allocations: 1.601 MB / 1.505 GB, free: 0.6328 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.6483, allocations: 188.9 kB / 1.505 GB, free: 416 kB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/0.6497, allocations: 0.9245 MB / 1.506 GB, free: 15.46 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001134/0.6498, allocations: 45.7 kB / 1.506 GB, free: 15.41 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005741/0.6504, allocations: 0.6142 MB / 1.506 GB, free: 14.79 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003746/0.6508, allocations: 376.8 kB / 1.507 GB, free: 14.42 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003671/0.6511, allocations: 202.5 kB / 1.507 GB, free: 14.21 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.6513, allocations: 341.9 kB / 1.507 GB, free: 13.88 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008372/0.6521, allocations: 373.8 kB / 1.508 GB, free: 13.51 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.6532, allocations: 0.5632 MB / 1.508 GB, free: 12.88 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001862/0.655, allocations: 0.9371 MB / 1.509 GB, free: 11.91 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.655, allocations: 3.938 kB / 1.509 GB, free: 11.9 MB / 1.217 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002927/0.658, allocations: 1.188 MB / 1.51 GB, free: 10.7 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.658, allocations: 11.98 kB / 1.51 GB, free: 10.69 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.658, allocations: 4 kB / 1.51 GB, free: 10.69 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006025/0.6586, allocations: 89.12 kB / 1.51 GB, free: 10.6 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.6597, allocations: 243.7 kB / 1.511 GB, free: 10.36 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/0.6619, allocations: 1.543 MB / 1.512 GB, free: 8.699 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.663, allocations: 145.7 kB / 1.512 GB, free: 8.559 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.6631, allocations: 39.98 kB / 1.512 GB, free: 8.52 MB / 1.217 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.0006826/0.6638, allocations: 337.5 kB / 1.513 GB, free: 8.18 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003152/0.6641, allocations: 131.2 kB / 1.513 GB, free: 8.051 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00343/0.6676, allocations: 1.437 MB / 1.514 GB, free: 6.598 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.6676, allocations: 12 kB / 1.514 GB, free: 6.586 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.6676, allocations: 8 kB / 1.514 GB, free: 6.578 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.6676, allocations: 3.984 kB / 1.514 GB, free: 6.574 MB / 1.217 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.005373/0.673, allocations: 2.859 MB / 1.517 GB, free: 3.637 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.673, allocations: 0 / 1.517 GB, free: 3.637 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.674, allocations: 219.7 kB / 1.517 GB, free: 3.422 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004578/0.6744, allocations: 84.66 kB / 1.517 GB, free: 3.336 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.176e-05/0.6745, allocations: 35.91 kB / 1.517 GB, free: 3.301 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/0.6766, allocations: 1.566 MB / 1.519 GB, free: 1.613 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.6766, allocations: 4.031 kB / 1.519 GB, free: 1.609 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003031/0.6797, allocations: 1.327 MB / 1.52 GB, free: 268 kB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000766/0.6804, allocations: 290.8 kB / 1.52 GB, free: 15.98 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002586/0.6807, allocations: 31.92 kB / 1.52 GB, free: 15.95 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.6817, allocations: 71.92 kB / 1.521 GB, free: 15.88 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/0.6819, allocations: 96.97 kB / 1.521 GB, free: 15.78 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/0.682, allocations: 47.97 kB / 1.521 GB, free: 15.73 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001077/0.6831, allocations: 0.6428 MB / 1.521 GB, free: 15.08 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.6831, allocations: 0 / 1.521 GB, free: 15.08 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001492/0.6846, allocations: 0.4947 MB / 1.522 GB, free: 14.59 MB / 1.232 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.005834/0.6905, allocations: 2.477 MB / 1.524 GB, free: 12.26 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002866/0.6933, allocations: 1.082 MB / 1.525 GB, free: 11.16 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/0.6933, allocations: 4 kB / 1.525 GB, free: 11.16 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001512/0.6948, allocations: 0.6367 MB / 1.526 GB, free: 10.51 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002816/0.6977, allocations: 0.534 MB / 1.526 GB, free: 10 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01797/0.7156, allocations: 9.003 MB / 1.535 GB, free: 0.793 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/0.7169, allocations: 1.217 MB / 1.536 GB, free: 15.54 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001624/0.7185, allocations: 394 kB / 1.537 GB, free: 15.16 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/0.7195, allocations: 0.5812 MB / 1.537 GB, free: 14.57 MB / 1.248 GB Notification: Performance of SimCode: time 1.172e-06/0.7195, allocations: 0 / 1.537 GB, free: 14.57 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7189/1.438, allocations: 35.31 MB / 1.572 GB, free: 280.1 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.19/17.63, allocations: 5.766 kB / 1.572 GB, free: 280.1 MB / 1.264 GB " [Timeout remaining time 282] (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 --stepSize=12614.4 --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) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 24.40409650298534] Failed to read output from testmodel.py, exit status != 0: 17.933134778984822 17.969904329 17.350088622 Calling exit ...