Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.001258/0.001258, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.0014/0.0014, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.381/1.381, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] 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.002614/0.002614, allocations: 285.8 kB / 312.7 MB, free: 2.91 MB / 238.1 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 1.213/1.213, allocations: 180.6 MB / 0.5369 GB, free: 12.97 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 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.EquationOfTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",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.004667/0.004667, allocations: 102.1 kB / 0.7396 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2067, allocations: 95.39 MB / 0.8327 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002905/0.2096, allocations: 1.492 MB / 0.8342 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.2106, allocations: 0.5704 MB / 0.8348 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.771e-05/0.2107, allocations: 0 / 0.8348 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.309e-05/0.2107, allocations: 3.938 kB / 0.8348 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.2109, allocations: 27.84 kB / 0.8348 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001386/0.2111, allocations: 35.91 kB / 0.8348 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.951e-05/0.2111, allocations: 51.78 kB / 0.8349 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.058e-05/0.2112, allocations: 15.92 kB / 0.8349 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.2114, allocations: 23.92 kB / 0.8349 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.97e-05/0.2114, allocations: 27.91 kB / 0.8349 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.2115, allocations: 4 kB / 0.8349 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.696e-05/0.2115, allocations: 11.98 kB / 0.8349 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.2115, allocations: 11.94 kB / 0.835 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.192e-05/0.2116, allocations: 19.92 kB / 0.835 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.2117, allocations: 47.86 kB / 0.835 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.2117, allocations: 4 kB / 0.835 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2117, allocations: 0 / 0.835 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.2117, allocations: 0 / 0.835 GB, free: 6.27 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005568/0.2123, allocations: 282.2 kB / 0.8353 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.2123, allocations: 13.34 kB / 0.8353 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.017e-05/0.2123, allocations: 30.75 kB / 0.8353 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.2125, allocations: 12.94 kB / 0.8353 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.2126, allocations: 126.5 kB / 0.8355 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.2126, allocations: 384 / 0.8355 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.2126, allocations: 4.375 kB / 0.8355 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.2128, allocations: 65.72 kB / 0.8355 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.2128, allocations: 0 / 0.8355 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.2128, allocations: 3.938 kB / 0.8355 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.2128, allocations: 0 / 0.8355 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.58e-05/0.2129, allocations: 23.98 kB / 0.8356 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.2132, allocations: 255.8 kB / 0.8358 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.2134, allocations: 62.62 kB / 0.8359 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/0.2135, allocations: 24.84 kB / 0.8359 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.2135, allocations: 0 / 0.8359 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.2137, allocations: 67.38 kB / 0.836 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.2137, allocations: 4 kB / 0.836 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0002341/0.2139, allocations: 97.59 kB / 0.8361 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.214, allocations: 51.41 kB / 0.8361 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.649e-05/0.214, allocations: 105.8 kB / 0.8362 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.2141, allocations: 25.7 kB / 0.8362 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.47e-05/0.2141, allocations: 84.09 kB / 0.8363 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.2141, allocations: 15.91 kB / 0.8363 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.2142, allocations: 21.7 kB / 0.8363 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.2143, allocations: 326.8 kB / 0.8367 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.024e-05/0.2144, allocations: 15.98 kB / 0.8367 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.938e-05/0.2144, allocations: 12 kB / 0.8367 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.335e-05/0.2145, allocations: 41.06 kB / 0.8367 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2145, allocations: 0 / 0.8367 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001265/0.2146, allocations: 77.56 kB / 0.8368 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.2146, allocations: 4 kB / 0.8368 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2146, allocations: 0 / 0.8368 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.2146, allocations: 4 kB / 0.8368 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.448e-05/0.2147, allocations: 15.98 kB / 0.8368 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.2147, allocations: 0 / 0.8368 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.57e-05/0.2148, allocations: 8 kB / 0.8368 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.2148, allocations: 3.984 kB / 0.8368 GB, free: 4.227 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: 3 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.288e-05/0.2148, allocations: 114.4 kB / 0.8369 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.2149, allocations: 4 kB / 0.8369 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.2151, allocations: 109.5 kB / 0.837 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2151, allocations: 0 / 0.837 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2151, allocations: 4.25 kB / 0.837 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2151, allocations: 0 / 0.837 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.2152, allocations: 168.7 kB / 0.8372 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2152, allocations: 3.938 kB / 0.8372 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.9e-05/0.2153, allocations: 11.94 kB / 0.8372 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2153, allocations: 0 / 0.8372 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.2153, allocations: 0 / 0.8372 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/0.2153, allocations: 7.984 kB / 0.8372 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2153, allocations: 0 / 0.8372 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.2155, allocations: 121 kB / 0.8373 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.433e-05/0.2155, allocations: 11.95 kB / 0.8374 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.2155, allocations: 0 / 0.8374 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.357e-05/0.2156, allocations: 4 kB / 0.8374 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.2156, allocations: 3.984 kB / 0.8374 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.2156, allocations: 8 kB / 0.8374 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.917e-05/0.2157, allocations: 83.27 kB / 0.8375 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2157, allocations: 0 / 0.8375 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000194/0.2159, allocations: 12 kB / 0.8375 GB, free: 3.488 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: 2 ($whenCondition1,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004547/0.2163, allocations: 0.6553 MB / 0.8381 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001329/0.2164, allocations: 51.91 kB / 0.8382 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.2164, allocations: 0 / 0.8382 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.802e-05/0.2165, allocations: 28.12 kB / 0.8382 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.2166, allocations: 14.98 kB / 0.8382 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.2178, allocations: 1.225 MB / 0.8394 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.2181, allocations: 0.6846 MB / 0.8401 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.112e-05/0.2181, allocations: 8.406 kB / 0.8401 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/0.2182, allocations: 15.44 kB / 0.8401 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.2182, allocations: 0 / 0.8401 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.2446, allocations: 1.804 MB / 0.8418 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/10.47, allocations: 9.125 kB / 0.8419 GB, free: 15.03 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.666477918002784] Failed to read output from testmodel.py, exit status != 0: 10.577644547996897 10.59818985 10.382545235 Calling exit ...