Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.001196/0.001196, allocations: 108.6 kB / 16.46 MB, free: 6.453 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.001203/0.001203, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.293/1.293, allocations: 230.6 MB / 252.8 MB, free: 8.938 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002326/0.002326, allocations: 275.2 kB / 309.1 MB, free: 3.941 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.102/1.102, allocations: 180.9 MB / 0.5333 GB, free: 13.62 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.00257/0.00257, allocations: 103.3 kB / 0.7343 GB, free: 28.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1388, allocations: 95.33 MB / 0.8274 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002585/0.1413, allocations: 1.637 MB / 0.829 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009594/0.1423, allocations: 0.6015 MB / 0.8295 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.52e-05/0.1423, allocations: 0 / 0.8295 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.633e-05/0.1424, allocations: 3.938 kB / 0.8296 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.1426, allocations: 55.69 kB / 0.8296 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.1428, allocations: 47.89 kB / 0.8297 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.1429, allocations: 111.6 kB / 0.8298 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.94e-05/0.143, allocations: 11.94 kB / 0.8298 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.1431, allocations: 55.83 kB / 0.8298 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.1432, allocations: 51.77 kB / 0.8299 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.1433, allocations: 12 kB / 0.8299 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.829e-05/0.1433, allocations: 27.97 kB / 0.8299 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.402e-05/0.1433, allocations: 15.92 kB / 0.8299 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.317e-05/0.1434, allocations: 43.8 kB / 0.83 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.1435, allocations: 99.66 kB / 0.8301 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1436, allocations: 0 / 0.8301 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1436, allocations: 0 / 0.8301 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.1436, allocations: 0 / 0.8301 GB, free: 7.074 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007113/0.1443, allocations: 407 kB / 0.8304 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.1443, allocations: 12.03 kB / 0.8305 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/0.1443, allocations: 38.73 kB / 0.8305 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.1445, allocations: 16.89 kB / 0.8305 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.1446, allocations: 188.1 kB / 0.8307 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1447, allocations: 4.375 kB / 0.8307 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.1447, allocations: 12.31 kB / 0.8307 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.1448, allocations: 85.77 kB / 0.8308 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1448, allocations: 4 kB / 0.8308 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.1449, allocations: 4 kB / 0.8308 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1449, allocations: 0 / 0.8308 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.145, allocations: 51.91 kB / 0.8308 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.1454, allocations: 340.6 kB / 0.8312 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.1457, allocations: 118.6 kB / 0.8313 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.369e-05/0.1458, allocations: 36.84 kB / 0.8313 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.1458, allocations: 0 / 0.8313 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.146, allocations: 95.34 kB / 0.8314 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.146, allocations: 0 / 0.8314 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0003222/0.1463, allocations: 157.5 kB / 0.8316 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.1463, allocations: 51.41 kB / 0.8316 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.1465, allocations: 125.8 kB / 0.8317 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.1465, allocations: 29.7 kB / 0.8318 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.1465, allocations: 92.36 kB / 0.8318 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.1466, allocations: 35.83 kB / 0.8319 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.006e-05/0.1466, allocations: 25.72 kB / 0.8319 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1467, allocations: 322.8 kB / 0.8322 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.976e-05/0.1468, allocations: 23.98 kB / 0.8322 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.907e-05/0.1469, allocations: 35.98 kB / 0.8323 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.147, allocations: 71.16 kB / 0.8323 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.147, allocations: 0 / 0.8323 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001946/0.1472, allocations: 105.6 kB / 0.8324 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1472, allocations: 9.719 kB / 0.8324 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.1472, allocations: 0 / 0.8324 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.1472, allocations: 0 / 0.8324 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.1473, allocations: 23.98 kB / 0.8325 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.1473, allocations: 0 / 0.8325 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.1474, allocations: 15.86 kB / 0.8325 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.1474, allocations: 4 kB / 0.8325 GB, free: 4.348 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.502e-05/0.1475, allocations: 129.7 kB / 0.8326 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/0.1475, allocations: 7.953 kB / 0.8326 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.1478, allocations: 142 kB / 0.8328 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1478, allocations: 3.984 kB / 0.8328 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.1478, allocations: 0 / 0.8328 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.1478, allocations: 7.938 kB / 0.8328 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.148, allocations: 213.5 kB / 0.833 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.148, allocations: 4 kB / 0.833 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.837e-05/0.1481, allocations: 23.94 kB / 0.833 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1481, allocations: 0 / 0.833 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.1481, allocations: 7.984 kB / 0.833 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1481, allocations: 4 kB / 0.833 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1481, allocations: 0 / 0.833 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.1484, allocations: 162.2 kB / 0.8332 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.575e-05/0.1484, allocations: 89 kB / 0.8332 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.1484, allocations: 3.984 kB / 0.8333 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1485, allocations: 12 kB / 0.8333 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.1486, allocations: 11.92 kB / 0.8333 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.1486, allocations: 7.984 kB / 0.8333 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.797e-05/0.1487, allocations: 104.1 kB / 0.8334 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1487, allocations: 0 / 0.8334 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002031/0.1489, allocations: 24 kB / 0.8334 GB, free: 3.305 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005783/0.1494, allocations: 0.6975 MB / 0.8341 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001983/0.1496, allocations: 79.91 kB / 0.8342 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1496, allocations: 0 / 0.8342 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.739e-05/0.1497, allocations: 51.91 kB / 0.8342 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.1499, allocations: 12.27 kB / 0.8342 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.1514, allocations: 1.461 MB / 0.8357 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.1517, allocations: 0.7002 MB / 0.8363 GB, free: 180 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.82e-05/0.1517, allocations: 12.48 kB / 0.8363 GB, free: 168 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.804e-05/0.1518, allocations: 35.42 kB / 0.8364 GB, free: 136 kB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.1518, allocations: 0 / 0.8364 GB, free: 136 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.1746, allocations: 2.328 MB / 0.8387 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.397/7.572, allocations: 18.89 kB / 0.8387 GB, free: 13.94 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.263825696427375] Failed to read output from testmodel.py, exit status != 0: 7.6444010296836495 7.657945021 7.511891346 Calling exit ...