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.001245/0.001245, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001395/0.001395, allocations: 218.2 kB / 23.03 MB, free: 4.922 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.0024/0.0024, allocations: 282.8 kB / 313.5 MB, free: 2.605 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.289/1.289, allocations: 180.6 MB / 0.5377 GB, free: 14.56 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.004379/0.004379, allocations: 101.4 kB / 0.7403 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.2037, allocations: 95.38 MB / 0.8334 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002752/0.2064, allocations: 1.473 MB / 0.8348 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009755/0.2074, allocations: 0.5237 MB / 0.8354 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.752e-05/0.2075, allocations: 0 / 0.8354 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.828e-05/0.2075, allocations: 3.938 kB / 0.8354 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000219/0.2077, allocations: 23.91 kB / 0.8354 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.2079, allocations: 31.91 kB / 0.8354 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.161e-05/0.208, allocations: 47.84 kB / 0.8355 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.97e-05/0.208, allocations: 15.92 kB / 0.8355 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.2082, allocations: 27.86 kB / 0.8355 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.277e-05/0.2083, allocations: 31.91 kB / 0.8355 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.2083, allocations: 4 kB / 0.8355 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.755e-05/0.2083, allocations: 8 kB / 0.8355 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.738e-05/0.2084, allocations: 11.98 kB / 0.8356 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.562e-05/0.2084, allocations: 15.92 kB / 0.8356 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.2085, allocations: 51.86 kB / 0.8356 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2085, allocations: 3.938 kB / 0.8356 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2085, allocations: 0 / 0.8356 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2086, allocations: 0 / 0.8356 GB, free: 6.059 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.0006226/0.2092, allocations: 290.2 kB / 0.8359 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.2092, allocations: 13.34 kB / 0.8359 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.358e-05/0.2092, allocations: 4.125 kB / 0.8359 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.2093, allocations: 34.69 kB / 0.836 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.2094, allocations: 8.938 kB / 0.836 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.2096, allocations: 118.5 kB / 0.8361 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.2096, allocations: 384 / 0.8361 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.2096, allocations: 4.375 kB / 0.8361 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.2097, allocations: 61.59 kB / 0.8361 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2098, allocations: 4 kB / 0.8361 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.2098, allocations: 0 / 0.8361 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2098, allocations: 0 / 0.8361 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.945e-05/0.2099, allocations: 27.98 kB / 0.8362 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/0.2103, allocations: 247.8 kB / 0.8364 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.2105, allocations: 62.67 kB / 0.8365 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.864e-05/0.2105, allocations: 20.84 kB / 0.8365 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.2106, allocations: 0 / 0.8365 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000288/0.2108, allocations: 71.33 kB / 0.8366 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.2109, allocations: 4 kB / 0.8366 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0002541/0.2111, allocations: 93.84 kB / 0.8366 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.2111, allocations: 51.41 kB / 0.8367 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.71e-05/0.2112, allocations: 101.9 kB / 0.8368 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.2113, allocations: 25.7 kB / 0.8368 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.341e-05/0.2113, allocations: 92.08 kB / 0.8369 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.2113, allocations: 11.91 kB / 0.8369 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.2114, allocations: 17.72 kB / 0.8369 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.2115, allocations: 326.8 kB / 0.8372 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.068e-05/0.2116, allocations: 15.94 kB / 0.8373 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.585e-05/0.2116, allocations: 24.05 kB / 0.8373 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.593e-05/0.2117, allocations: 36.92 kB / 0.8373 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2117, allocations: 3.984 kB / 0.8373 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001282/0.2118, allocations: 73.64 kB / 0.8374 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.2118, allocations: 8 kB / 0.8374 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.2118, allocations: 0 / 0.8374 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.2118, allocations: 0 / 0.8374 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.87e-05/0.2119, allocations: 15.92 kB / 0.8374 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.2119, allocations: 0 / 0.8374 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.755e-05/0.212, allocations: 4 kB / 0.8374 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.212, allocations: 7.875 kB / 0.8374 GB, free: 4.02 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 9.656e-05/0.2121, allocations: 122.4 kB / 0.8375 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/0.2121, allocations: 3.984 kB / 0.8375 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.2123, allocations: 105.6 kB / 0.8376 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.2123, allocations: 7.984 kB / 0.8377 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.2124, allocations: 0 / 0.8377 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.2124, allocations: 0 / 0.8377 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.2125, allocations: 144.6 kB / 0.8378 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2125, allocations: 0 / 0.8378 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.392e-05/0.2126, allocations: 12 kB / 0.8378 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.2126, allocations: 7.984 kB / 0.8378 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.2126, allocations: 0 / 0.8378 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2126, allocations: 240 / 0.8378 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2126, allocations: 0 / 0.8378 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.2128, allocations: 125 kB / 0.8379 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.402e-05/0.2128, allocations: 7.953 kB / 0.8379 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.2128, allocations: 0 / 0.8379 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.803e-05/0.2129, allocations: 3.984 kB / 0.8379 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.2129, allocations: 4 kB / 0.8379 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.2129, allocations: 11.98 kB / 0.838 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.621e-05/0.213, allocations: 79.28 kB / 0.838 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.213, allocations: 7.938 kB / 0.838 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001908/0.2132, allocations: 15.94 kB / 0.8381 GB, free: 3.289 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.0005356/0.2137, allocations: 0.6594 MB / 0.8387 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001425/0.2139, allocations: 43.95 kB / 0.8387 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2139, allocations: 0 / 0.8387 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.319e-05/0.2139, allocations: 35.92 kB / 0.8388 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.2141, allocations: 8.266 kB / 0.8388 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.2156, allocations: 1.223 MB / 0.84 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.796e-05/0.2157, allocations: 75.33 kB / 0.84 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.456e-05/0.2157, allocations: 8.078 kB / 0.8401 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.279e-05/0.2158, allocations: 19.42 kB / 0.8401 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.2158, allocations: 0 / 0.8401 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/0.2398, allocations: 1.859 MB / 0.8419 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.54, allocations: 10.75 kB / 0.8419 GB, free: 15.42 MB / 0.5919 GB " [Timeout remaining time 648] (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.82635147694964] Failed to read output from testmodel.py, exit status != 0: 11.693088165018708 11.717925466 11.504607638 Calling exit ...