Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001235/0.001235, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001386/0.001386, allocations: 218.5 kB / 23.03 MB, free: 4.922 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.381/1.381, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.964/2.964, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_12_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.001945/0.001945, allocations: 65.94 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2909, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1832/0.4741, allocations: 155.9 MB / 1.479 GB, free: 4.957 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01787/0.492, allocations: 12.02 MB / 1.491 GB, free: 8.895 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/0.4934, allocations: 43.62 kB / 1.491 GB, free: 8.852 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001545/0.4949, allocations: 476.4 kB / 1.491 GB, free: 8.383 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003251/0.4982, allocations: 1.082 MB / 1.492 GB, free: 7.301 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004827/0.503, allocations: 1.899 MB / 1.494 GB, free: 5.406 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003416/0.5064, allocations: 2.571 MB / 1.497 GB, free: 2.828 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002313/0.5087, allocations: 1.279 MB / 1.498 GB, free: 1.492 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004727/0.5135, allocations: 1.656 MB / 1.499 GB, free: 15.86 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.515, allocations: 0.8985 MB / 1.5 GB, free: 14.96 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004887/0.5155, allocations: 176 kB / 1.5 GB, free: 14.79 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00284/0.5183, allocations: 1.31 MB / 1.502 GB, free: 13.48 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006129/0.5189, allocations: 0.4946 MB / 1.502 GB, free: 12.98 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.5201, allocations: 0.7232 MB / 1.503 GB, free: 12.25 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004357/0.5244, allocations: 2.849 MB / 1.506 GB, free: 9.395 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5244, allocations: 0 / 1.506 GB, free: 9.395 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.183e-06/0.5244, allocations: 0 / 1.506 GB, free: 9.395 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.977e-05/0.5245, allocations: 4 kB / 1.506 GB, free: 9.391 MB / 1.201 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.003994/0.5285, allocations: 2.028 MB / 1.508 GB, free: 7.316 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.5285, allocations: 12.03 kB / 1.508 GB, free: 7.305 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.475e-05/0.5286, allocations: 34.72 kB / 1.508 GB, free: 7.27 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002696/0.5288, allocations: 206.6 kB / 1.508 GB, free: 7.059 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003256/0.5321, allocations: 466.4 kB / 1.508 GB, free: 6.602 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/0.5339, allocations: 0.9633 MB / 1.509 GB, free: 5.605 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.11e-05/0.534, allocations: 102.7 kB / 1.509 GB, free: 5.504 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/0.5342, allocations: 128 kB / 1.51 GB, free: 5.379 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002924/0.5371, allocations: 2.04 MB / 1.512 GB, free: 3.141 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.5371, allocations: 0 / 1.512 GB, free: 3.141 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.5373, allocations: 64 kB / 1.512 GB, free: 3.078 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.642e-05/0.5373, allocations: 32 kB / 1.512 GB, free: 3.047 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002748/0.54, allocations: 1.579 MB / 1.513 GB, free: 1.461 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.006894/0.5469, allocations: 3.991 MB / 1.517 GB, free: 13.38 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002501/0.5494, allocations: 1.148 MB / 1.518 GB, free: 12.23 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008372/0.5503, allocations: 439.6 kB / 1.519 GB, free: 11.79 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006174/0.5509, allocations: 112.9 kB / 1.519 GB, free: 11.68 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001485/0.5524, allocations: 1.059 MB / 1.52 GB, free: 10.52 MB / 1.217 GB Notification: Performance of pre-optimization done (n=107): time 3.116e-06/0.5524, allocations: 0 / 1.52 GB, free: 10.52 MB / 1.217 GB Notification: Performance of matching and sorting (n=107): time 0.004427/0.5568, allocations: 1.598 MB / 1.521 GB, free: 8.914 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.5569, allocations: 196.9 kB / 1.521 GB, free: 8.68 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.5583, allocations: 0.9167 MB / 1.522 GB, free: 7.742 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001269/0.5584, allocations: 53.7 kB / 1.522 GB, free: 7.684 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005854/0.559, allocations: 0.6103 MB / 1.523 GB, free: 7.066 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003467/0.5593, allocations: 368.8 kB / 1.523 GB, free: 6.703 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000341/0.5597, allocations: 202.5 kB / 1.524 GB, free: 6.496 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.5598, allocations: 345.9 kB / 1.524 GB, free: 6.152 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008254/0.5607, allocations: 373.8 kB / 1.524 GB, free: 5.789 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.5617, allocations: 0.7351 MB / 1.525 GB, free: 4.949 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001814/0.5636, allocations: 0.9332 MB / 1.526 GB, free: 3.973 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.5636, allocations: 4 kB / 1.526 GB, free: 3.969 MB / 1.217 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002923/0.5665, allocations: 1.192 MB / 1.527 GB, free: 2.766 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.5665, allocations: 4 kB / 1.527 GB, free: 2.762 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.5665, allocations: 4.406 kB / 1.527 GB, free: 2.758 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006213/0.5671, allocations: 92.7 kB / 1.527 GB, free: 2.664 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.5683, allocations: 243.7 kB / 1.527 GB, free: 2.426 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.5705, allocations: 1.543 MB / 1.529 GB, free: 0.7617 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.5716, allocations: 135.1 kB / 1.529 GB, free: 0.6289 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.5718, allocations: 39.98 kB / 1.529 GB, free: 0.5898 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.0007459/0.5725, allocations: 343 kB / 1.529 GB, free: 252 kB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000382/0.5729, allocations: 131.2 kB / 1.53 GB, free: 120 kB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003422/0.5763, allocations: 1.445 MB / 1.531 GB, free: 14.66 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.5763, allocations: 12 kB / 1.531 GB, free: 14.65 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.5763, allocations: 4 kB / 1.531 GB, free: 14.65 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.5763, allocations: 3.984 kB / 1.531 GB, free: 14.64 MB / 1.232 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.005152/0.5815, allocations: 2.568 MB / 1.533 GB, free: 12.02 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.5815, allocations: 7.984 kB / 1.533 GB, free: 12.02 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.5825, allocations: 215.7 kB / 1.534 GB, free: 11.8 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004527/0.583, allocations: 80.7 kB / 1.534 GB, free: 11.72 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.394e-05/0.5831, allocations: 35.92 kB / 1.534 GB, free: 11.69 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/0.5851, allocations: 1.555 MB / 1.535 GB, free: 10.01 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.5851, allocations: 4.062 kB / 1.535 GB, free: 10 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002851/0.5879, allocations: 1.335 MB / 1.537 GB, free: 8.652 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006705/0.5886, allocations: 290.7 kB / 1.537 GB, free: 8.367 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002297/0.5888, allocations: 27.89 kB / 1.537 GB, free: 8.34 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.5898, allocations: 79.92 kB / 1.537 GB, free: 8.262 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/0.59, allocations: 92.77 kB / 1.537 GB, free: 8.168 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/0.5902, allocations: 51.95 kB / 1.537 GB, free: 8.117 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0009488/0.5911, allocations: 0.635 MB / 1.538 GB, free: 7.473 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5911, allocations: 0 / 1.538 GB, free: 7.473 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0013/0.5924, allocations: 0.4948 MB / 1.538 GB, free: 6.977 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.005346/0.5978, allocations: 2.518 MB / 1.541 GB, free: 4.645 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002398/0.6002, allocations: 1.073 MB / 1.542 GB, free: 3.559 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.6002, allocations: 0 / 1.542 GB, free: 3.559 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.6015, allocations: 0.6488 MB / 1.542 GB, free: 2.902 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/0.6037, allocations: 0.5244 MB / 1.543 GB, free: 2.398 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01609/0.6198, allocations: 9.012 MB / 1.552 GB, free: 9.176 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007666/0.6206, allocations: 0.6327 MB / 1.552 GB, free: 8.512 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001375/0.622, allocations: 394 kB / 1.553 GB, free: 8.125 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009043/0.6229, allocations: 0.5812 MB / 1.553 GB, free: 7.543 MB / 1.248 GB Notification: Performance of SimCode: time 7.81e-07/0.6229, allocations: 0 / 1.553 GB, free: 7.543 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07688/0.6997, allocations: 36.89 MB / 1.589 GB, free: 3.262 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.3/16, allocations: 4.062 kB / 1.589 GB, free: 3.258 MB / 1.279 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 22.498602558043785] Failed to read output from testmodel.py, exit status != 0: 16.287519447039813 16.305782669 15.777678965 Calling exit ...