Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.000794/0.000794, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0007717/0.0007717, allocations: 166.3 kB / 22.46 MB, free: 2.098 MB / 18.57 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 0.8828/0.8828, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001539/0.001539, allocations: 237.8 kB / 259.4 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6653/0.6653, allocations: 138.4 MB / 454.3 MB, free: 1.652 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 3.938 kB / 0.6463 GB, free: 29.07 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.48e-05/1.663e-05, allocations: 3.828 kB / 0.6463 GB, free: 29.07 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.133/0.133, allocations: 155.9 MB / 0.7985 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01182/0.1448, allocations: 12.03 MB / 0.8103 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.1459, allocations: 39.69 kB / 0.8103 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.1469, allocations: 496.1 kB / 0.8108 GB, free: 8.652 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002232/0.1492, allocations: 1.09 MB / 0.8119 GB, free: 7.559 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003386/0.1526, allocations: 1.939 MB / 0.8137 GB, free: 5.625 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002123/0.1547, allocations: 2.607 MB / 0.8163 GB, free: 3.012 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.1558, allocations: 1.271 MB / 0.8175 GB, free: 1.684 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002428/0.1582, allocations: 1.905 MB / 0.8194 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000581/0.1588, allocations: 0.7283 MB / 0.8201 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001451/0.1589, allocations: 172 kB / 0.8203 GB, free: 14.9 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.1608, allocations: 1.302 MB / 0.8215 GB, free: 13.6 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002823/0.161, allocations: 0.5062 MB / 0.822 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0003978/0.1614, allocations: 0.608 MB / 0.8226 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002607/0.164, allocations: 2.983 MB / 0.8255 GB, free: 9.488 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.164, allocations: 0 / 0.8255 GB, free: 9.488 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.533e-06/0.164, allocations: 0 / 0.8255 GB, free: 9.488 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.552e-05/0.1641, allocations: 3.938 kB / 0.8255 GB, free: 9.484 MB / 0.6667 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.002115/0.1662, allocations: 2.027 MB / 0.8275 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.1662, allocations: 8.75 kB / 0.8275 GB, free: 7.406 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001731/0.1664, allocations: 202.7 kB / 0.8277 GB, free: 7.199 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001584/0.168, allocations: 470.5 kB / 0.8282 GB, free: 6.738 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.1691, allocations: 0.9632 MB / 0.8291 GB, free: 5.746 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.399e-05/0.1692, allocations: 98.72 kB / 0.8292 GB, free: 5.648 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.1693, allocations: 132 kB / 0.8293 GB, free: 5.52 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/0.1712, allocations: 2.029 MB / 0.8313 GB, free: 3.293 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.1713, allocations: 0 / 0.8313 GB, free: 3.293 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-05/0.1714, allocations: 63.98 kB / 0.8314 GB, free: 3.23 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.1714, allocations: 32 kB / 0.8314 GB, free: 3.199 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001934/0.1733, allocations: 1.54 MB / 0.8329 GB, free: 1.652 MB / 0.6667 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.00453/0.1778, allocations: 3.986 MB / 0.8368 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.1794, allocations: 1.14 MB / 0.8379 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005062/0.1799, allocations: 443.6 kB / 0.8383 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003145/0.1802, allocations: 112.8 kB / 0.8385 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008804/0.1811, allocations: 1.05 MB / 0.8395 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=107): time 2.224e-06/0.1811, allocations: 0 / 0.8395 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=107): time 0.002457/0.1835, allocations: 1.598 MB / 0.841 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/0.1836, allocations: 200.9 kB / 0.8412 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007641/0.1844, allocations: 0.9205 MB / 0.8421 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.327e-05/0.1844, allocations: 49.7 kB / 0.8422 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000319/0.1847, allocations: 0.6142 MB / 0.8428 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.1849, allocations: 368.8 kB / 0.8431 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004951/0.1854, allocations: 198.5 kB / 0.8433 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.594e-05/0.1855, allocations: 345.9 kB / 0.8436 GB, free: 6.359 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004599/0.186, allocations: 381.8 kB / 0.844 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006381/0.1866, allocations: 0.735 MB / 0.8447 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.1877, allocations: 0.9293 MB / 0.8456 GB, free: 4.176 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1877, allocations: 3.938 kB / 0.8456 GB, free: 4.172 MB / 0.6823 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001505/0.1892, allocations: 1.197 MB / 0.8468 GB, free: 2.969 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.1892, allocations: 8 kB / 0.8468 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.1892, allocations: 4 kB / 0.8468 GB, free: 2.957 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003418/0.1896, allocations: 88.86 kB / 0.8469 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005407/0.1901, allocations: 239.7 kB / 0.8471 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.1915, allocations: 1.535 MB / 0.8486 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000499/0.192, allocations: 143.1 kB / 0.8488 GB, free: 0.832 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.053e-05/0.192, allocations: 39.98 kB / 0.8488 GB, free: 0.793 MB / 0.6823 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.0003933/0.1924, allocations: 338.2 kB / 0.8491 GB, free: 464 kB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.1926, allocations: 139.1 kB / 0.8493 GB, free: 324 kB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/0.1947, allocations: 1.441 MB / 0.8507 GB, free: 14.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.1947, allocations: 12 kB / 0.8507 GB, free: 14.85 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.1947, allocations: 0 / 0.8507 GB, free: 14.85 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.1947, allocations: 3.984 kB / 0.8507 GB, free: 14.84 MB / 0.698 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.002836/0.1976, allocations: 2.569 MB / 0.8532 GB, free: 12.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1976, allocations: 0 / 0.8532 GB, free: 12.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004739/0.1981, allocations: 223.7 kB / 0.8534 GB, free: 12.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002054/0.1983, allocations: 72.8 kB / 0.8535 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.897e-05/0.1983, allocations: 27.97 kB / 0.8535 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.1994, allocations: 1.57 MB / 0.855 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1994, allocations: 0 / 0.855 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.201, allocations: 1.335 MB / 0.8563 GB, free: 8.863 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003613/0.2014, allocations: 294.7 kB / 0.8566 GB, free: 8.574 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.926e-05/0.2014, allocations: 27.94 kB / 0.8566 GB, free: 8.547 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004372/0.2019, allocations: 83.98 kB / 0.8567 GB, free: 8.465 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.202, allocations: 88.77 kB / 0.8568 GB, free: 8.375 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.657e-05/0.2021, allocations: 55.95 kB / 0.8569 GB, free: 8.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008357/0.2029, allocations: 0.6389 MB / 0.8575 GB, free: 7.672 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2029, allocations: 0 / 0.8575 GB, free: 7.672 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009168/0.2038, allocations: 0.4948 MB / 0.858 GB, free: 7.176 MB / 0.698 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.002794/0.2066, allocations: 2.531 MB / 0.8604 GB, free: 4.836 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001369/0.208, allocations: 1.086 MB / 0.8615 GB, free: 3.734 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.208, allocations: 4 kB / 0.8615 GB, free: 3.73 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006823/0.2087, allocations: 0.6289 MB / 0.8621 GB, free: 3.094 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.2099, allocations: 0.5264 MB / 0.8626 GB, free: 2.586 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2543/0.4641, allocations: 9.038 MB / 0.8715 GB, free: 210.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/0.4646, allocations: 0.6257 MB / 0.8721 GB, free: 210.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009477/0.4656, allocations: 393.6 kB / 0.8724 GB, free: 210.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000519/0.4661, allocations: 0.5821 MB / 0.873 GB, free: 210.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.272e-06/0.4661, allocations: 0 / 0.873 GB, free: 210.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04424/0.5103, allocations: 37.13 MB / 0.9093 GB, free: 182.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.412/8.923, allocations: 0 / 0.9093 GB, free: 182.2 MB / 0.698 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.9340789783746] Failed to read output from testmodel.py, exit status != 0: 9.084880490787327 9.091183599 8.925498235 Calling exit ...