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.001125/0.001125, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001325/0.001325, allocations: 170.3 kB / 22.46 MB, free: 2.105 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 1.096/1.096, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.001845/0.001845, allocations: 225.2 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.7967/0.7967, allocations: 138.4 MB / 454.3 MB, free: 30.01 MB / 410.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.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: Performance of FrontEnd - loaded program: time 2.956e-06/2.956e-06, allocations: 0 / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.183e-05/3.478e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003098/0.003132, allocations: 1.616 MB / 0.6479 GB, free: 240 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.447/0.4501, allocations: 0.5474 MB / 0.6484 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.4502, allocations: 0.7812 kB / 0.6484 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 4.376e-05/0.4502, allocations: 7.75 kB / 0.6484 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0005643/0.4508, allocations: 46.25 kB / 0.6485 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.4511, allocations: 44.67 kB / 0.6485 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.4514, allocations: 115.2 kB / 0.6486 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.4516, allocations: 15.22 kB / 0.6486 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005911/0.4522, allocations: 72.91 kB / 0.6487 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.4523, allocations: 42.91 kB / 0.6487 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.4524, allocations: 8.75 kB / 0.6488 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.188e-05/0.4525, allocations: 16.41 kB / 0.6488 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.708e-05/0.4525, allocations: 22.88 kB / 0.6488 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 9.701e-05/0.4526, allocations: 33.39 kB / 0.6488 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003766/0.453, allocations: 111.5 kB / 0.6489 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.453, allocations: 0 / 0.6489 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.316e-06/0.453, allocations: 0 / 0.6489 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.453, allocations: 0.9688 kB / 0.6489 GB, free: 55.82 MB / 0.5573 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.0009172/0.4539, allocations: 327 kB / 0.6492 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001141/0.4541, allocations: 11.92 kB / 0.6493 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.236e-05/0.4541, allocations: 41.12 kB / 0.6493 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002903/0.4544, allocations: 18.06 kB / 0.6493 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.4547, allocations: 123.7 kB / 0.6494 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.273e-05/0.4547, allocations: 6.438 kB / 0.6494 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.4548, allocations: 6.438 kB / 0.6494 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.455, allocations: 90.3 kB / 0.6495 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.455, allocations: 1.531 kB / 0.6495 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.455, allocations: 8.594 kB / 0.6495 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.455, allocations: 1.969 kB / 0.6495 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.4552, allocations: 47.62 kB / 0.6496 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005968/0.4558, allocations: 302.2 kB / 0.6499 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003375/0.4561, allocations: 94.03 kB / 0.65 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.422e-05/0.4562, allocations: 42.73 kB / 0.65 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.4562, allocations: 4.594 kB / 0.65 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003113/0.4565, allocations: 98.97 kB / 0.6501 GB, free: 55 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=11): time 2.375e-06/0.4565, allocations: 0.9375 kB / 0.6501 GB, free: 55 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.0004387/0.457, allocations: 147.4 kB / 0.6502 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.457, allocations: 55.73 kB / 0.6503 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.4572, allocations: 128.7 kB / 0.6504 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.4572, allocations: 26.45 kB / 0.6504 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.4572, allocations: 95.86 kB / 0.6505 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.147e-05/0.4573, allocations: 41.03 kB / 0.6506 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-05/0.4573, allocations: 25.92 kB / 0.6506 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.594e-05/0.4574, allocations: 327.3 kB / 0.6509 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.023e-05/0.4574, allocations: 30.84 kB / 0.6509 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.397e-05/0.4575, allocations: 27.8 kB / 0.651 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.4577, allocations: 64.2 kB / 0.651 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.4577, allocations: 0 / 0.651 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001465/0.4579, allocations: 117.3 kB / 0.6511 GB, free: 54.28 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.4579, allocations: 7.75 kB / 0.6512 GB, free: 54.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.4579, allocations: 0.7031 kB / 0.6512 GB, free: 54.28 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.4579, allocations: 1.781 kB / 0.6512 GB, free: 54.28 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.599e-05/0.458, allocations: 22.75 kB / 0.6512 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.458, allocations: 1.891 kB / 0.6512 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.866e-05/0.4581, allocations: 7.375 kB / 0.6512 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.4581, allocations: 4.797 kB / 0.6512 GB, free: 54.27 MB / 0.5573 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 7.376e-05/0.4581, allocations: 125.7 kB / 0.6513 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.4582, allocations: 7.875 kB / 0.6513 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002962/0.4584, allocations: 148.1 kB / 0.6515 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.4585, allocations: 4.109 kB / 0.6515 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.4585, allocations: 3.406 kB / 0.6515 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.4585, allocations: 0.6094 kB / 0.6515 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.4586, allocations: 178.8 kB / 0.6516 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4586, allocations: 0 / 0.6516 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.721e-05/0.4587, allocations: 15.39 kB / 0.6516 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.4587, allocations: 2.375 kB / 0.6517 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.4587, allocations: 1.734 kB / 0.6517 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.4587, allocations: 2.625 kB / 0.6517 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.4587, allocations: 3.938 kB / 0.6517 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.459, allocations: 172 kB / 0.6518 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.48e-05/0.4591, allocations: 12.09 kB / 0.6518 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.4591, allocations: 2.688 kB / 0.6518 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.247e-05/0.4591, allocations: 11.25 kB / 0.6518 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.477e-05/0.4592, allocations: 12.45 kB / 0.6519 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.4592, allocations: 5.297 kB / 0.6519 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.623e-05/0.4593, allocations: 96.94 kB / 0.652 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.4593, allocations: 0 / 0.652 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001526/0.4594, allocations: 25.53 kB / 0.652 GB, free: 53.79 MB / 0.5573 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.000457/0.4599, allocations: 0.7089 MB / 0.6527 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002048/0.4601, allocations: 77.19 kB / 0.6527 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4601, allocations: 0 / 0.6527 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.105e-05/0.4602, allocations: 48.66 kB / 0.6528 GB, free: 53.18 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.4604, allocations: 7.516 kB / 0.6528 GB, free: 53.18 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.4618, allocations: 1.472 MB / 0.6542 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.419e-05/0.4619, allocations: 83.84 kB / 0.6543 GB, free: 51.92 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.356e-05/0.4619, allocations: 12.98 kB / 0.6543 GB, free: 51.91 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.302e-05/0.462, allocations: 30.25 kB / 0.6544 GB, free: 51.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.302e-06/0.462, allocations: 1.688 kB / 0.6544 GB, free: 51.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02728/0.4893, allocations: 3 MB / 0.6573 GB, free: 51.05 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.831/8.321, allocations: 9.391 kB / 0.6573 GB, free: 51.04 MB / 0.5573 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.745249788276851] Failed to read output from testmodel.py, exit status != 0: 8.403247012756765 8.412712302 7.957416028 Calling exit ...