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.000758/0.000758, 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.0008326/0.0008326, allocations: 169.9 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 0.8637/0.8637, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.001393/0.001393, allocations: 238.1 kB / 259.4 MB, free: 13 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.6712/0.6712, allocations: 138.4 MB / 454.3 MB, free: 30.05 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.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: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.6463 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.705e-05, allocations: 5.375 kB / 0.6463 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001649/0.001666, allocations: 1.483 MB / 0.6477 GB, free: 408 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2157/0.2173, allocations: 0.5168 MB / 0.6483 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.437e-05/0.2174, allocations: 0 / 0.6483 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.14e-05/0.2174, allocations: 6.375 kB / 0.6483 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.2177, allocations: 22 kB / 0.6483 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.2178, allocations: 36 kB / 0.6483 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.231e-05/0.2179, allocations: 51.14 kB / 0.6484 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.887e-05/0.218, allocations: 5.766 kB / 0.6484 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.2182, allocations: 39.06 kB / 0.6484 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.402e-05/0.2182, allocations: 18.17 kB / 0.6484 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.2182, allocations: 4.781 kB / 0.6484 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 4.495e-05/0.2183, allocations: 15.38 kB / 0.6484 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.2183, allocations: 15.88 kB / 0.6485 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/0.2183, allocations: 14.53 kB / 0.6485 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.2185, allocations: 56.23 kB / 0.6485 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2185, allocations: 0 / 0.6485 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.542e-06/0.2185, allocations: 5.844 kB / 0.6485 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.319e-06/0.2185, allocations: 0 / 0.6485 GB, free: 55.8 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000409/0.2189, allocations: 281.2 kB / 0.6488 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.2189, allocations: 11.67 kB / 0.6488 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.118e-05/0.219, allocations: 36.33 kB / 0.6488 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.2191, allocations: 11.59 kB / 0.6489 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.35e-05/0.2191, allocations: 109.8 kB / 0.649 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.2192, allocations: 2.906 kB / 0.649 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.749e-06/0.2192, allocations: 6.875 kB / 0.649 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.2193, allocations: 56.39 kB / 0.649 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.2193, allocations: 1.125 kB / 0.649 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.2193, allocations: 4.125 kB / 0.649 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2193, allocations: 1.062 kB / 0.649 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.323e-05/0.2193, allocations: 26.11 kB / 0.6491 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002737/0.2196, allocations: 243.3 kB / 0.6493 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.2198, allocations: 63.92 kB / 0.6493 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.323e-05/0.2198, allocations: 18.53 kB / 0.6494 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.2199, allocations: 6.219 kB / 0.6494 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.22, allocations: 69.89 kB / 0.6494 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.22, allocations: 0.8438 kB / 0.6494 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.000188/0.2202, allocations: 89.59 kB / 0.6495 GB, free: 55 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.114e-05/0.2202, allocations: 53.53 kB / 0.6496 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.978e-05/0.2203, allocations: 103.7 kB / 0.6497 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.703e-06/0.2203, allocations: 26.95 kB / 0.6497 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.949e-05/0.2203, allocations: 93.97 kB / 0.6498 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.2203, allocations: 14.3 kB / 0.6498 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.2203, allocations: 21.03 kB / 0.6498 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.038e-05/0.2204, allocations: 316.8 kB / 0.6501 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.785e-05/0.2204, allocations: 17.12 kB / 0.6501 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.485e-05/0.2204, allocations: 19.03 kB / 0.6502 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.202e-05/0.2205, allocations: 44.17 kB / 0.6502 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2205, allocations: 3.938 kB / 0.6502 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.919e-05/0.2206, allocations: 72.77 kB / 0.6503 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.2206, allocations: 4.906 kB / 0.6503 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2206, allocations: 3.938 kB / 0.6503 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.2206, allocations: 1.375 kB / 0.6503 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.263e-05/0.2206, allocations: 14.94 kB / 0.6503 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2207, allocations: 0.7188 kB / 0.6503 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.687e-05/0.2207, allocations: 4.969 kB / 0.6503 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.2207, allocations: 4.547 kB / 0.6503 GB, free: 54.33 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: 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 4.116e-05/0.2207, allocations: 120.7 kB / 0.6504 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-06/0.2207, allocations: 2.75 kB / 0.6504 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.2209, allocations: 110.5 kB / 0.6505 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2209, allocations: 0.875 kB / 0.6505 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.2209, allocations: 0.7188 kB / 0.6505 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2209, allocations: 0 / 0.6505 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.577e-05/0.221, allocations: 157.2 kB / 0.6507 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.221, allocations: 1.609 kB / 0.6507 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.561e-05/0.221, allocations: 13.69 kB / 0.6507 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.221, allocations: 0.75 kB / 0.6507 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.221, allocations: 2.031 kB / 0.6507 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.221, allocations: 0.625 kB / 0.6507 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.221, allocations: 1.625 kB / 0.6507 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.528e-05/0.2211, allocations: 121.5 kB / 0.6508 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-06/0.2211, allocations: 6.969 kB / 0.6508 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.2211, allocations: 2.844 kB / 0.6508 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.256e-05/0.2212, allocations: 7.562 kB / 0.6508 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.857e-05/0.2212, allocations: 9.609 kB / 0.6508 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.2212, allocations: 2.953 kB / 0.6508 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.984e-05/0.2212, allocations: 85.84 kB / 0.6509 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2212, allocations: 0.5 kB / 0.6509 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001293/0.2214, allocations: 10.31 kB / 0.6509 GB, free: 53.86 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: 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.0002132/0.2216, allocations: 0.6639 MB / 0.6516 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.2217, allocations: 48.72 kB / 0.6516 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.2217, allocations: 0 / 0.6516 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.084e-05/0.2217, allocations: 28.34 kB / 0.6517 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001152/0.2218, allocations: 6.703 kB / 0.6517 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006478/0.2225, allocations: 1.228 MB / 0.6529 GB, free: 52.17 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.573e-05/0.2225, allocations: 68.12 kB / 0.6529 GB, free: 52.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.321e-05/0.2226, allocations: 10.8 kB / 0.6529 GB, free: 52.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.2226, allocations: 20.58 kB / 0.653 GB, free: 52.1 MB / 0.5573 GB Notification: Performance of SimCode: time 4.4e-07/0.2226, allocations: 0.9375 kB / 0.653 GB, free: 52.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01307/0.2357, allocations: 2.337 MB / 0.6552 GB, free: 51.32 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.65/6.885, allocations: 4.156 kB / 0.6552 GB, free: 51.32 MB / 0.5573 GB " [Timeout remaining time 653] (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: 9.403677520342171] Failed to read output from testmodel.py, exit status != 0: 6.964456972666085 6.973895748 6.75352688 Calling exit ...