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.001722/0.001722, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001965/0.001965, allocations: 215 kB / 20.13 MB, free: 2.949 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.65/1.65, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 3.039/3.039, allocations: 476.7 MB / 0.7678 GB, free: 9.383 MB / 0.6075 GB " [Timeout remaining time 176] 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.00211/0.00211, allocations: 59.91 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9704/0.9725, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2228/1.195, allocations: 180.3 MB / 1.455 GB, free: 7.539 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01939/1.215, allocations: 12.96 MB / 1.468 GB, free: 10.55 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001651/1.216, allocations: 39.69 kB / 1.468 GB, free: 10.51 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001516/1.218, allocations: 492.3 kB / 1.468 GB, free: 10.02 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003514/1.221, allocations: 1.069 MB / 1.469 GB, free: 8.953 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.005781/1.227, allocations: 1.917 MB / 1.471 GB, free: 7.043 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00502/1.232, allocations: 2.547 MB / 1.474 GB, free: 4.488 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004003/1.236, allocations: 1.306 MB / 1.475 GB, free: 3.121 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005925/1.242, allocations: 1.499 MB / 1.476 GB, free: 1.648 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001841/1.244, allocations: 0.9219 MB / 1.477 GB, free: 0.7227 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0006219/1.245, allocations: 172 kB / 1.477 GB, free: 0.5547 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003656/1.248, allocations: 1.505 MB / 1.479 GB, free: 15.05 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0008292/1.249, allocations: 0.4985 MB / 1.479 GB, free: 14.55 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001594/1.251, allocations: 0.8863 MB / 1.48 GB, free: 13.66 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.006015/1.257, allocations: 2.859 MB / 1.483 GB, free: 10.79 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/1.257, allocations: 0 / 1.483 GB, free: 10.79 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.244e-06/1.257, allocations: 0 / 1.483 GB, free: 10.79 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.816e-05/1.257, allocations: 0 / 1.483 GB, free: 10.79 MB / 1.17 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.005979/1.263, allocations: 2.113 MB / 1.485 GB, free: 8.613 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 6.908e-05/1.263, allocations: 12.03 kB / 1.485 GB, free: 8.602 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.631e-05/1.263, allocations: 34.72 kB / 1.485 GB, free: 8.566 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003184/1.263, allocations: 206.6 kB / 1.485 GB, free: 8.355 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003628/1.267, allocations: 470.4 kB / 1.486 GB, free: 7.895 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002187/1.269, allocations: 1.043 MB / 1.487 GB, free: 6.805 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/1.269, allocations: 106.7 kB / 1.487 GB, free: 6.699 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002091/1.269, allocations: 128 kB / 1.487 GB, free: 6.574 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002987/1.272, allocations: 1.524 MB / 1.488 GB, free: 4.973 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/1.272, allocations: 4 kB / 1.488 GB, free: 4.969 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/1.273, allocations: 56 kB / 1.489 GB, free: 4.914 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.189e-05/1.273, allocations: 40 kB / 1.489 GB, free: 4.875 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00303/1.276, allocations: 1.583 MB / 1.49 GB, free: 3.285 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 preOpt removeSimpleEquations (simulation): time 0.008816/1.284, allocations: 5.331 MB / 1.495 GB, free: 13.64 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003036/1.287, allocations: 1.455 MB / 1.497 GB, free: 12.11 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009375/1.288, allocations: 440.9 kB / 1.497 GB, free: 11.68 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008584/1.289, allocations: 425.3 kB / 1.498 GB, free: 11.19 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001392/1.291, allocations: 0.6957 MB / 1.498 GB, free: 10.48 MB / 1.186 GB Notification: Performance of pre-optimization done (n=107): time 3.006e-06/1.291, allocations: 0 / 1.498 GB, free: 10.48 MB / 1.186 GB Notification: Performance of matching and sorting (n=107): time 0.004827/1.295, allocations: 1.673 MB / 1.5 GB, free: 8.773 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/1.296, allocations: 200.9 kB / 1.5 GB, free: 8.535 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/1.297, allocations: 0.9244 MB / 1.501 GB, free: 7.59 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001363/1.297, allocations: 49.7 kB / 1.501 GB, free: 7.535 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005999/1.298, allocations: 0.6064 MB / 1.502 GB, free: 6.922 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003768/1.298, allocations: 372.8 kB / 1.502 GB, free: 6.555 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003463/1.299, allocations: 198.5 kB / 1.502 GB, free: 6.355 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001727/1.299, allocations: 349.9 kB / 1.503 GB, free: 6.008 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008302/1.3, allocations: 373.8 kB / 1.503 GB, free: 5.641 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/1.301, allocations: 0.561 MB / 1.503 GB, free: 5.02 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001863/1.302, allocations: 0.9332 MB / 1.504 GB, free: 4.043 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/1.302, allocations: 8 kB / 1.504 GB, free: 4.035 MB / 1.186 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003023/1.306, allocations: 1.185 MB / 1.505 GB, free: 2.84 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/1.306, allocations: 13.88 kB / 1.506 GB, free: 2.828 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/1.306, allocations: 7.938 kB / 1.506 GB, free: 2.82 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006419/1.306, allocations: 88.77 kB / 1.506 GB, free: 2.73 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/1.307, allocations: 243.7 kB / 1.506 GB, free: 2.492 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002412/1.31, allocations: 1.654 MB / 1.507 GB, free: 0.6914 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/1.311, allocations: 131.2 kB / 1.508 GB, free: 0.5625 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/1.311, allocations: 43.98 kB / 1.508 GB, free: 0.5195 MB / 1.186 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.0007193/1.312, allocations: 341.5 kB / 1.508 GB, free: 180 kB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003062/1.312, allocations: 135.2 kB / 1.508 GB, free: 44 kB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003487/1.316, allocations: 1.437 MB / 1.509 GB, free: 14.59 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/1.316, allocations: 12 kB / 1.509 GB, free: 14.58 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.316, allocations: 0 / 1.509 GB, free: 14.58 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/1.316, allocations: 3.984 kB / 1.509 GB, free: 14.58 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 postOpt removeSimpleEquations (simulation): time 0.005455/1.321, allocations: 2.892 MB / 1.512 GB, free: 11.61 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.321, allocations: 0 / 1.512 GB, free: 11.61 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/1.322, allocations: 219.7 kB / 1.513 GB, free: 11.39 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004778/1.323, allocations: 84.7 kB / 1.513 GB, free: 11.3 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.799e-05/1.323, allocations: 35.91 kB / 1.513 GB, free: 11.27 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002217/1.325, allocations: 1.662 MB / 1.514 GB, free: 9.465 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.325, allocations: 7.938 kB / 1.514 GB, free: 9.457 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003811/1.329, allocations: 1.323 MB / 1.516 GB, free: 8.113 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/1.33, allocations: 363.8 kB / 1.516 GB, free: 7.738 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002317/1.33, allocations: 35.88 kB / 1.516 GB, free: 7.703 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/1.331, allocations: 79.98 kB / 1.516 GB, free: 7.625 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000254/1.331, allocations: 92.81 kB / 1.516 GB, free: 7.535 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/1.331, allocations: 51.97 kB / 1.516 GB, free: 7.484 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001187/1.333, allocations: 0.635 MB / 1.517 GB, free: 6.84 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.3e-07/1.333, allocations: 4 kB / 1.517 GB, free: 6.836 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001816/1.334, allocations: 0.4909 MB / 1.517 GB, free: 6.344 MB / 1.201 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.006023/1.34, allocations: 2.479 MB / 1.52 GB, free: 4.012 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002661/1.343, allocations: 1.078 MB / 1.521 GB, free: 2.926 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/1.343, allocations: 4 kB / 1.521 GB, free: 2.922 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001385/1.345, allocations: 0.6406 MB / 1.521 GB, free: 2.27 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/1.347, allocations: 0.5278 MB / 1.522 GB, free: 1.762 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01878/1.366, allocations: 9.006 MB / 1.531 GB, free: 8.547 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/1.367, allocations: 1.215 MB / 1.532 GB, free: 7.305 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001838/1.369, allocations: 394 kB / 1.532 GB, free: 6.918 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/1.37, allocations: 0.5773 MB / 1.533 GB, free: 6.34 MB / 1.217 GB Notification: Performance of SimCode: time 2.314e-06/1.37, allocations: 0 / 1.533 GB, free: 6.34 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08617/1.456, allocations: 34.53 MB / 1.567 GB, free: 4.242 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.19/16.65, allocations: 14.47 kB / 1.567 GB, free: 4.23 MB / 1.248 GB " [Timeout remaining time 283] (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: 23.59298915800173] Failed to read output from testmodel.py, exit status != 0: 16.9251743509667 16.94802101 15.68669699 Calling exit ...