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.001398/0.001398, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001575/0.001575, allocations: 215.1 kB / 23.04 MB, free: 5.07 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.315/1.315, 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 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.865/2.865, allocations: 0.49 GB / 0.7959 GB, free: 33.29 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.001811/0.001811, allocations: 76.75 kB / 1.155 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2852, allocations: 176.1 MB / 1.327 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.197/0.4821, allocations: 180.6 MB / 1.503 GB, free: 12.52 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01683/0.499, allocations: 13.13 MB / 1.516 GB, free: 15.35 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.5, allocations: 43.69 kB / 1.516 GB, free: 15.31 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.5011, allocations: 496.3 kB / 1.516 GB, free: 14.82 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002458/0.5036, allocations: 1.068 MB / 1.517 GB, free: 13.75 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004539/0.5081, allocations: 1.951 MB / 1.519 GB, free: 11.8 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003437/0.5116, allocations: 2.571 MB / 1.522 GB, free: 9.227 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001981/0.5136, allocations: 1.291 MB / 1.523 GB, free: 7.879 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004213/0.5178, allocations: 1.65 MB / 1.525 GB, free: 6.254 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/0.5191, allocations: 0.9142 MB / 1.526 GB, free: 5.336 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002449/0.5193, allocations: 176 kB / 1.526 GB, free: 5.164 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002943/0.5223, allocations: 1.521 MB / 1.527 GB, free: 3.641 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004694/0.5227, allocations: 0.4945 MB / 1.528 GB, free: 3.145 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0009082/0.5236, allocations: 0.8825 MB / 1.529 GB, free: 2.258 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004242/0.5279, allocations: 2.872 MB / 1.531 GB, free: 15.38 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5279, allocations: 0 / 1.531 GB, free: 15.38 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5279, allocations: 0 / 1.531 GB, free: 15.38 MB / 1.232 GB Notification: Performance of Transformations before backend: time 3.172e-05/0.5279, allocations: 0 / 1.531 GB, free: 15.38 MB / 1.232 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.00375/0.5317, allocations: 2.035 MB / 1.533 GB, free: 13.29 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.5317, allocations: 8.031 kB / 1.533 GB, free: 13.29 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.446e-05/0.5317, allocations: 38.72 kB / 1.533 GB, free: 13.25 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002405/0.532, allocations: 202.7 kB / 1.534 GB, free: 13.04 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003105/0.5351, allocations: 474.4 kB / 1.534 GB, free: 12.57 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/0.5369, allocations: 0.9555 MB / 1.535 GB, free: 11.59 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.088e-05/0.537, allocations: 102.7 kB / 1.535 GB, free: 11.48 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001824/0.5372, allocations: 136 kB / 1.535 GB, free: 11.35 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002602/0.5398, allocations: 1.522 MB / 1.537 GB, free: 9.754 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.5398, allocations: 3.938 kB / 1.537 GB, free: 9.75 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/0.5399, allocations: 63.94 kB / 1.537 GB, free: 9.688 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-05/0.54, allocations: 32 kB / 1.537 GB, free: 9.656 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002742/0.5427, allocations: 1.587 MB / 1.538 GB, free: 8.062 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 preOpt removeSimpleEquations (simulation): time 0.007327/0.55, allocations: 5.341 MB / 1.544 GB, free: 2.383 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00242/0.5525, allocations: 1.146 MB / 1.545 GB, free: 1.23 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008167/0.5533, allocations: 439.6 kB / 1.545 GB, free: 0.7969 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005663/0.5538, allocations: 124.8 kB / 1.545 GB, free: 0.6758 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001267/0.5551, allocations: 0.6958 MB / 1.546 GB, free: 15.96 MB / 1.248 GB Notification: Performance of pre-optimization done (n=107): time 2.435e-06/0.5551, allocations: 0 / 1.546 GB, free: 15.96 MB / 1.248 GB Notification: Performance of matching and sorting (n=107): time 0.004211/0.5593, allocations: 1.597 MB / 1.547 GB, free: 14.36 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.5594, allocations: 196.9 kB / 1.548 GB, free: 14.12 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.5607, allocations: 0.9206 MB / 1.549 GB, free: 13.18 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 9.41e-05/0.5608, allocations: 49.7 kB / 1.549 GB, free: 13.12 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005239/0.5613, allocations: 0.6103 MB / 1.549 GB, free: 12.51 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003311/0.5616, allocations: 368.8 kB / 1.55 GB, free: 12.14 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003283/0.5619, allocations: 198.5 kB / 1.55 GB, free: 11.94 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.5621, allocations: 341.9 kB / 1.55 GB, free: 11.6 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00076/0.5629, allocations: 381.8 kB / 1.55 GB, free: 11.23 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009522/0.5638, allocations: 0.5554 MB / 1.551 GB, free: 10.61 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001708/0.5655, allocations: 0.9371 MB / 1.552 GB, free: 9.633 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.5655, allocations: 4 kB / 1.552 GB, free: 9.629 MB / 1.248 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002599/0.5681, allocations: 1.192 MB / 1.553 GB, free: 8.426 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.5681, allocations: 4.406 kB / 1.553 GB, free: 8.422 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.5682, allocations: 12 kB / 1.553 GB, free: 8.41 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005719/0.5687, allocations: 84.77 kB / 1.553 GB, free: 8.324 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.5698, allocations: 247.7 kB / 1.553 GB, free: 8.082 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/0.5718, allocations: 1.55 MB / 1.555 GB, free: 6.41 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009068/0.5727, allocations: 137.2 kB / 1.555 GB, free: 6.277 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.728e-05/0.5728, allocations: 43.97 kB / 1.555 GB, free: 6.234 MB / 1.248 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.0005549/0.5734, allocations: 345.8 kB / 1.555 GB, free: 5.887 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002371/0.5736, allocations: 131.2 kB / 1.556 GB, free: 5.758 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003121/0.5767, allocations: 1.437 MB / 1.557 GB, free: 4.312 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.5768, allocations: 12 kB / 1.557 GB, free: 4.301 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.5768, allocations: 0 / 1.557 GB, free: 4.301 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.5768, allocations: 7.969 kB / 1.557 GB, free: 4.293 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 postOpt removeSimpleEquations (simulation): time 0.004808/0.5816, allocations: 2.863 MB / 1.56 GB, free: 1.352 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.5816, allocations: 0 / 1.56 GB, free: 1.352 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009479/0.5825, allocations: 223.7 kB / 1.56 GB, free: 1.133 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004271/0.583, allocations: 76.73 kB / 1.56 GB, free: 1.055 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.593e-05/0.583, allocations: 31.97 kB / 1.56 GB, free: 1.023 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.585, allocations: 1.57 MB / 1.562 GB, free: 15.33 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.585, allocations: 0 / 1.562 GB, free: 15.33 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002618/0.5876, allocations: 1.331 MB / 1.563 GB, free: 13.98 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005726/0.5882, allocations: 282.7 kB / 1.563 GB, free: 13.7 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/0.5883, allocations: 31.89 kB / 1.563 GB, free: 13.67 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008924/0.5892, allocations: 85.61 kB / 1.563 GB, free: 13.59 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/0.5894, allocations: 92.77 kB / 1.563 GB, free: 13.5 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/0.5895, allocations: 55.95 kB / 1.563 GB, free: 13.44 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0008842/0.5904, allocations: 0.635 MB / 1.564 GB, free: 12.8 MB / 1.264 GB Notification: Performance of sort global known variables: time 6e-08/0.5904, allocations: 0 / 1.564 GB, free: 12.8 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001206/0.5916, allocations: 498.7 kB / 1.565 GB, free: 12.31 MB / 1.264 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.005077/0.5967, allocations: 2.492 MB / 1.567 GB, free: 9.969 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002298/0.599, allocations: 1.078 MB / 1.568 GB, free: 8.879 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.599, allocations: 4 kB / 1.568 GB, free: 8.875 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.6002, allocations: 0.6368 MB / 1.569 GB, free: 8.23 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/0.6024, allocations: 0.5361 MB / 1.569 GB, free: 7.719 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01579/0.6182, allocations: 9.003 MB / 1.578 GB, free: 14.5 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009996/0.6192, allocations: 1.217 MB / 1.579 GB, free: 13.25 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001291/0.6205, allocations: 386.1 kB / 1.58 GB, free: 12.88 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008242/0.6213, allocations: 0.5734 MB / 1.58 GB, free: 12.3 MB / 1.279 GB Notification: Performance of SimCode: time 6.62e-07/0.6213, allocations: 4 kB / 1.58 GB, free: 12.3 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5982/1.22, allocations: 35.31 MB / 1.615 GB, free: 276.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.02/15.24, allocations: 7.547 kB / 1.615 GB, free: 276.1 MB / 1.295 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: 21.445472355000675] Failed to read output from testmodel.py, exit status != 0: 15.530278523976449 15.550649537 15.019210248 Calling exit ...