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.001254/0.001254, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001366/0.001366, allocations: 220.3 kB / 23.05 MB, free: 5.074 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.424/1.424, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.00252/0.00252, allocations: 292.7 kB / 313.5 MB, free: 2.887 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.246/1.246, allocations: 180.6 MB / 0.5377 GB, free: 13.04 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="cs",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.002747/0.002747, allocations: 102.2 kB / 0.7404 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1916, allocations: 95.39 MB / 0.8335 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002848/0.1945, allocations: 1.476 MB / 0.835 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009955/0.1955, allocations: 0.5782 MB / 0.8355 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.471e-05/0.1955, allocations: 0 / 0.8355 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.259e-05/0.1955, allocations: 7.922 kB / 0.8355 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.1957, allocations: 19.86 kB / 0.8355 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001398/0.1959, allocations: 39.91 kB / 0.8356 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.533e-05/0.196, allocations: 51.78 kB / 0.8356 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.124e-05/0.1961, allocations: 11.92 kB / 0.8356 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.1962, allocations: 23.98 kB / 0.8357 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.086e-05/0.1963, allocations: 27.8 kB / 0.8357 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.1963, allocations: 4 kB / 0.8357 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.522e-05/0.1963, allocations: 23.97 kB / 0.8357 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.1964, allocations: 7.938 kB / 0.8357 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.887e-05/0.1964, allocations: 15.92 kB / 0.8357 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.1965, allocations: 51.86 kB / 0.8358 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1965, allocations: 0 / 0.8358 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1965, allocations: 4 kB / 0.8358 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.1965, allocations: 0 / 0.8358 GB, free: 6.293 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.0005327/0.1971, allocations: 282.2 kB / 0.8361 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1971, allocations: 9.344 kB / 0.8361 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.315e-05/0.1971, allocations: 4.188 kB / 0.8361 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.117e-05/0.1971, allocations: 30.75 kB / 0.8361 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.1973, allocations: 16.92 kB / 0.8361 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.1974, allocations: 110.5 kB / 0.8362 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.1974, allocations: 8.375 kB / 0.8362 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.1974, allocations: 4.312 kB / 0.8362 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.1976, allocations: 65.53 kB / 0.8363 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1976, allocations: 0 / 0.8363 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1976, allocations: 0 / 0.8363 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.1976, allocations: 7.984 kB / 0.8363 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.917e-05/0.1977, allocations: 23.98 kB / 0.8363 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.1981, allocations: 259.8 kB / 0.8366 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.1983, allocations: 62.61 kB / 0.8366 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.162e-05/0.1984, allocations: 16.86 kB / 0.8367 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.1984, allocations: 0 / 0.8367 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.1985, allocations: 79.38 kB / 0.8367 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.1985, allocations: 0 / 0.8367 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0002306/0.1988, allocations: 85.61 kB / 0.8368 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/0.1989, allocations: 59.41 kB / 0.8369 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.385e-05/0.199, allocations: 97.84 kB / 0.837 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.199, allocations: 29.7 kB / 0.837 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.1991, allocations: 88.09 kB / 0.8371 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.1991, allocations: 11.91 kB / 0.8371 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/0.1992, allocations: 29.7 kB / 0.8371 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1993, allocations: 314.8 kB / 0.8374 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.765e-05/0.1994, allocations: 15.98 kB / 0.8374 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.357e-05/0.1994, allocations: 19.98 kB / 0.8375 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.078e-05/0.1995, allocations: 32.86 kB / 0.8375 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1995, allocations: 0 / 0.8375 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000126/0.1996, allocations: 77.64 kB / 0.8376 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1996, allocations: 15.92 kB / 0.8376 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.1996, allocations: 0 / 0.8376 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.1996, allocations: 4 kB / 0.8376 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.76e-05/0.1997, allocations: 8 kB / 0.8376 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.1997, allocations: 0 / 0.8376 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.541e-05/0.1998, allocations: 7.984 kB / 0.8376 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.1998, allocations: 0 / 0.8376 GB, free: 4.258 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.933e-05/0.1998, allocations: 118.4 kB / 0.8377 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.1999, allocations: 4 kB / 0.8377 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.2001, allocations: 105.6 kB / 0.8378 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2001, allocations: 8 kB / 0.8378 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2001, allocations: 3.938 kB / 0.8378 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2001, allocations: 0 / 0.8378 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.2002, allocations: 152.6 kB / 0.838 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2002, allocations: 3.938 kB / 0.838 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.84e-05/0.2003, allocations: 12 kB / 0.838 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.2003, allocations: 4 kB / 0.838 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.2003, allocations: 4.234 kB / 0.838 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2003, allocations: 4 kB / 0.838 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2003, allocations: 0 / 0.838 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.2005, allocations: 121 kB / 0.8381 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.357e-05/0.2005, allocations: 7.953 kB / 0.8381 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.2005, allocations: 0 / 0.8381 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-05/0.2006, allocations: 8 kB / 0.8381 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.2006, allocations: 7.984 kB / 0.8381 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.2006, allocations: 3.984 kB / 0.8381 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.283e-05/0.2007, allocations: 87.45 kB / 0.8382 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2007, allocations: 4 kB / 0.8382 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001888/0.2009, allocations: 16.12 kB / 0.8382 GB, free: 3.512 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.0004993/0.2014, allocations: 0.6514 MB / 0.8389 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001404/0.2015, allocations: 51.91 kB / 0.8389 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2015, allocations: 0 / 0.8389 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.445e-05/0.2016, allocations: 31.92 kB / 0.839 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.2017, allocations: 8 kB / 0.839 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.2033, allocations: 1.222 MB / 0.8402 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004799/0.2038, allocations: 0.6923 MB / 0.8408 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.92e-05/0.2038, allocations: 4 kB / 0.8408 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.689e-05/0.2038, allocations: 23.42 kB / 0.8409 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.2038, allocations: 4 kB / 0.8409 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.2262, allocations: 1.827 MB / 0.8426 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.17, allocations: 12.5 kB / 0.8427 GB, free: 15.04 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 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: 15.413781217997894] Failed to read output from testmodel.py, exit status != 0: 11.327923313016072 11.35503858 11.153760887 Calling exit ...