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.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.001427/0.001427, 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.001592/0.001592, allocations: 219.6 kB / 23.04 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.32/1.32, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.869/2.869, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_latest_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.001825/0.001825, allocations: 61.61 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.289, allocations: 179 MB / 1.345 GB, free: 464 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2012/0.4902, allocations: 180.6 MB / 1.522 GB, free: 11.14 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01847/0.5087, allocations: 13.13 MB / 1.535 GB, free: 13.97 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.5099, allocations: 43.62 kB / 1.535 GB, free: 13.93 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.5111, allocations: 496.3 kB / 1.535 GB, free: 13.44 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.002726/0.5139, allocations: 1.066 MB / 1.536 GB, free: 12.38 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.004307/0.5182, allocations: 1.952 MB / 1.538 GB, free: 10.43 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003277/0.5214, allocations: 2.571 MB / 1.54 GB, free: 7.852 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001963/0.5234, allocations: 1.287 MB / 1.542 GB, free: 6.508 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0043/0.5277, allocations: 1.659 MB / 1.543 GB, free: 4.875 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/0.5291, allocations: 0.9103 MB / 1.544 GB, free: 3.961 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0003836/0.5295, allocations: 172 kB / 1.544 GB, free: 3.793 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002918/0.5324, allocations: 1.521 MB / 1.546 GB, free: 2.27 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005486/0.533, allocations: 0.4946 MB / 1.546 GB, free: 1.773 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0009908/0.534, allocations: 0.8824 MB / 1.547 GB, free: 0.8867 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004275/0.5382, allocations: 2.869 MB / 1.55 GB, free: 14.01 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.5383, allocations: 4 kB / 1.55 GB, free: 14 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5383, allocations: 4 kB / 1.55 GB, free: 14 MB / 1.248 GB Notification: Performance of Transformations before backend: time 3.88e-05/0.5383, allocations: 0 / 1.55 GB, free: 14 MB / 1.248 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.003838/0.5421, allocations: 2.031 MB / 1.552 GB, free: 11.92 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.5422, allocations: 8.031 kB / 1.552 GB, free: 11.91 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.391e-05/0.5422, allocations: 38.72 kB / 1.552 GB, free: 11.88 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002411/0.5425, allocations: 202.7 kB / 1.552 GB, free: 11.67 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003068/0.5455, allocations: 466.4 kB / 1.553 GB, free: 11.21 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001786/0.5473, allocations: 0.9594 MB / 1.554 GB, free: 10.23 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-05/0.5474, allocations: 106.7 kB / 1.554 GB, free: 10.12 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/0.5476, allocations: 132 kB / 1.554 GB, free: 9.992 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002684/0.5503, allocations: 1.524 MB / 1.555 GB, free: 8.391 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/0.5503, allocations: 4 kB / 1.555 GB, free: 8.387 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.5504, allocations: 56 kB / 1.555 GB, free: 8.332 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.857e-05/0.5505, allocations: 36 kB / 1.555 GB, free: 8.297 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002768/0.5532, allocations: 1.587 MB / 1.557 GB, free: 6.703 MB / 1.248 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.007668/0.5609, allocations: 5.346 MB / 1.562 GB, free: 1.012 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00249/0.5634, allocations: 1.148 MB / 1.563 GB, free: 15.86 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008445/0.5642, allocations: 439.6 kB / 1.564 GB, free: 15.42 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005829/0.5648, allocations: 120.8 kB / 1.564 GB, free: 15.31 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001264/0.5661, allocations: 0.6918 MB / 1.565 GB, free: 14.6 MB / 1.264 GB Notification: Performance of pre-optimization done (n=107): time 2.334e-06/0.5661, allocations: 0 / 1.565 GB, free: 14.6 MB / 1.264 GB Notification: Performance of matching and sorting (n=107): time 0.004309/0.5704, allocations: 1.601 MB / 1.566 GB, free: 12.99 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.5705, allocations: 192.9 kB / 1.566 GB, free: 12.76 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.5719, allocations: 0.9245 MB / 1.567 GB, free: 11.81 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.572, allocations: 49.7 kB / 1.567 GB, free: 11.76 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005699/0.5726, allocations: 0.6025 MB / 1.568 GB, free: 11.15 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003785/0.573, allocations: 376.8 kB / 1.568 GB, free: 10.78 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003369/0.5733, allocations: 210.5 kB / 1.568 GB, free: 10.56 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.5735, allocations: 345.9 kB / 1.569 GB, free: 10.22 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007891/0.5743, allocations: 373.8 kB / 1.569 GB, free: 9.855 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009673/0.5752, allocations: 0.5671 MB / 1.57 GB, free: 9.227 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/0.577, allocations: 0.9332 MB / 1.571 GB, free: 8.25 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.577, allocations: 4 kB / 1.571 GB, free: 8.246 MB / 1.264 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002808/0.5798, allocations: 1.185 MB / 1.572 GB, free: 7.055 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.5798, allocations: 9.719 kB / 1.572 GB, free: 7.047 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.5798, allocations: 4 kB / 1.572 GB, free: 7.043 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005602/0.5804, allocations: 89.14 kB / 1.572 GB, free: 6.953 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.5814, allocations: 243.7 kB / 1.572 GB, free: 6.715 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002102/0.5835, allocations: 1.546 MB / 1.574 GB, free: 5.047 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.5845, allocations: 135.2 kB / 1.574 GB, free: 4.914 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-05/0.5846, allocations: 47.97 kB / 1.574 GB, free: 4.867 MB / 1.264 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.0006428/0.5853, allocations: 337.8 kB / 1.574 GB, free: 4.527 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002738/0.5855, allocations: 131.2 kB / 1.574 GB, free: 4.398 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00324/0.5888, allocations: 1.437 MB / 1.576 GB, free: 2.949 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.5888, allocations: 12 kB / 1.576 GB, free: 2.938 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.5888, allocations: 0 / 1.576 GB, free: 2.938 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.5888, allocations: 11.92 kB / 1.576 GB, free: 2.926 MB / 1.264 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.004958/0.5938, allocations: 2.864 MB / 1.578 GB, free: 15.98 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.5938, allocations: 0 / 1.578 GB, free: 15.98 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009536/0.5947, allocations: 215.7 kB / 1.579 GB, free: 15.78 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004146/0.5951, allocations: 76.72 kB / 1.579 GB, free: 15.7 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.134e-05/0.5952, allocations: 39.91 kB / 1.579 GB, free: 15.66 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/0.5972, allocations: 1.57 MB / 1.58 GB, free: 13.96 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5972, allocations: 0 / 1.58 GB, free: 13.96 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002782/0.5999, allocations: 1.342 MB / 1.582 GB, free: 12.61 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006148/0.6006, allocations: 286.7 kB / 1.582 GB, free: 12.32 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.6007, allocations: 27.94 kB / 1.582 GB, free: 12.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008928/0.6016, allocations: 78.16 kB / 1.582 GB, free: 12.22 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/0.6018, allocations: 88.83 kB / 1.582 GB, free: 12.13 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.6019, allocations: 55.97 kB / 1.582 GB, free: 12.08 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0008669/0.6028, allocations: 0.6389 MB / 1.583 GB, free: 11.43 MB / 1.279 GB Notification: Performance of sort global known variables: time 1e-07/0.6028, allocations: 0 / 1.583 GB, free: 11.43 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001225/0.604, allocations: 0.4909 MB / 1.583 GB, free: 10.94 MB / 1.279 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.004995/0.609, allocations: 2.478 MB / 1.586 GB, free: 8.613 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002305/0.6113, allocations: 1.07 MB / 1.587 GB, free: 7.527 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6113, allocations: 0 / 1.587 GB, free: 7.527 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.6125, allocations: 0.6448 MB / 1.587 GB, free: 6.875 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00223/0.6148, allocations: 0.5375 MB / 1.588 GB, free: 6.355 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/0.6303, allocations: 9.008 MB / 1.597 GB, free: 13.14 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000898/0.6312, allocations: 1.221 MB / 1.598 GB, free: 11.89 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001289/0.6325, allocations: 394 kB / 1.598 GB, free: 11.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008376/0.6334, allocations: 0.5812 MB / 1.599 GB, free: 10.92 MB / 1.295 GB Notification: Performance of SimCode: time 5.62e-07/0.6334, allocations: 0 / 1.599 GB, free: 10.92 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6056/1.239, allocations: 35.28 MB / 1.633 GB, free: 256.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.05/15.29, allocations: 13.58 kB / 1.633 GB, free: 256.7 MB / 1.295 GB " [Timeout remaining time 284] (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 --stepSize=12614.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 21.510936279024463] Failed to read output from testmodel.py, exit status != 0: 15.570112945046276 15.583460618 15.04263459 Calling exit ...