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.001233/0.001233, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001343/0.001343, allocations: 215 kB / 20.13 MB, free: 2.949 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.446/1.446, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.002506/0.002506, allocations: 282.5 kB / 309.8 MB, free: 3.539 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.082/1.082, allocations: 180.6 MB / 0.5338 GB, free: 12.82 MB / 398.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.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.003004/0.003004, allocations: 99.84 kB / 0.7347 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5636/0.5666, allocations: 95.33 MB / 0.8278 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002453/0.569, allocations: 1.634 MB / 0.8294 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000869/0.5699, allocations: 0.6091 MB / 0.83 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.806e-05/0.5699, allocations: 2.625 kB / 0.83 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.219e-05/0.57, allocations: 6.188 kB / 0.83 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002577/0.5702, allocations: 49.5 kB / 0.83 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.5704, allocations: 39.39 kB / 0.8301 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.5705, allocations: 110.3 kB / 0.8302 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.577e-05/0.5706, allocations: 19.81 kB / 0.8302 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.5707, allocations: 54.73 kB / 0.8302 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.5708, allocations: 51 kB / 0.8303 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.5708, allocations: 7.875 kB / 0.8303 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.288e-05/0.5709, allocations: 22.02 kB / 0.8303 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.649e-05/0.5709, allocations: 23.94 kB / 0.8303 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.813e-05/0.571, allocations: 42.05 kB / 0.8304 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.5711, allocations: 102.5 kB / 0.8305 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.5711, allocations: 0.5156 kB / 0.8305 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5711, allocations: 0 / 0.8305 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.5712, allocations: 0 / 0.8305 GB, free: 1.246 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006235/0.5718, allocations: 408.8 kB / 0.8309 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.5718, allocations: 12.25 kB / 0.8309 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.729e-05/0.5718, allocations: 4.125 kB / 0.8309 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.495e-05/0.5719, allocations: 37.67 kB / 0.8309 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.572, allocations: 22.59 kB / 0.8309 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.5721, allocations: 184.2 kB / 0.8311 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.5721, allocations: 4.5 kB / 0.8311 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.5721, allocations: 13.61 kB / 0.8311 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.5723, allocations: 91.83 kB / 0.8312 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.5723, allocations: 0 / 0.8312 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.5723, allocations: 3.281 kB / 0.8312 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.5723, allocations: 0 / 0.8312 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.5724, allocations: 52.95 kB / 0.8313 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.5729, allocations: 341.9 kB / 0.8316 GB, free: 200 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.5731, allocations: 102.8 kB / 0.8317 GB, free: 144 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.074e-05/0.5732, allocations: 40.89 kB / 0.8317 GB, free: 120 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.5732, allocations: 1.438 kB / 0.8317 GB, free: 120 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.5734, allocations: 95.61 kB / 0.8318 GB, free: 56 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.5734, allocations: 0 / 0.8318 GB, free: 56 kB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0003383/0.5737, allocations: 155 kB / 0.832 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.5737, allocations: 56.06 kB / 0.832 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.5739, allocations: 125.3 kB / 0.8322 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.5739, allocations: 29.7 kB / 0.8322 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.407e-05/0.5739, allocations: 89.62 kB / 0.8323 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.574, allocations: 39.89 kB / 0.8323 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.668e-05/0.574, allocations: 29.06 kB / 0.8323 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5742, allocations: 320 kB / 0.8326 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.902e-05/0.5742, allocations: 28.53 kB / 0.8327 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.837e-05/0.5743, allocations: 42 kB / 0.8327 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.5744, allocations: 63.88 kB / 0.8328 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5744, allocations: 0 / 0.8328 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001803/0.5746, allocations: 112.1 kB / 0.8329 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.5746, allocations: 5.25 kB / 0.8329 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.5746, allocations: 0 / 0.8329 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.5746, allocations: 0.6094 kB / 0.8329 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.5747, allocations: 19.83 kB / 0.8329 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.5747, allocations: 3.938 kB / 0.8329 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.5748, allocations: 12.41 kB / 0.8329 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.5748, allocations: 0.7969 kB / 0.8329 GB, free: 15.17 MB / 0.5919 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 0.000102/0.5749, allocations: 123.7 kB / 0.833 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.575, allocations: 9.922 kB / 0.833 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002702/0.5752, allocations: 149.3 kB / 0.8332 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.5752, allocations: 3.203 kB / 0.8332 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.5752, allocations: 3.938 kB / 0.8332 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5752, allocations: 0.9844 kB / 0.8332 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.5754, allocations: 219.4 kB / 0.8334 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.5754, allocations: 4.734 kB / 0.8334 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.771e-05/0.5755, allocations: 15.75 kB / 0.8334 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.5755, allocations: 2.656 kB / 0.8334 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.5755, allocations: 8.797 kB / 0.8334 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.5755, allocations: 4.641 kB / 0.8334 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5755, allocations: 5.094 kB / 0.8334 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.5758, allocations: 158.9 kB / 0.8336 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.405e-05/0.5758, allocations: 88.95 kB / 0.8337 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.5759, allocations: 7.312 kB / 0.8337 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.576, allocations: 5.562 kB / 0.8337 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.576, allocations: 14.64 kB / 0.8337 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.576, allocations: 7.547 kB / 0.8337 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.522e-05/0.5761, allocations: 94.83 kB / 0.8338 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5761, allocations: 1.25 kB / 0.8338 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002038/0.5763, allocations: 24.62 kB / 0.8338 GB, free: 14.42 MB / 0.5919 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.000546/0.5769, allocations: 0.702 MB / 0.8345 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001861/0.577, allocations: 85.98 kB / 0.8346 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.577, allocations: 0 / 0.8346 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.668e-05/0.5771, allocations: 43.06 kB / 0.8346 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.5773, allocations: 19.41 kB / 0.8347 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.5788, allocations: 1.471 MB / 0.8361 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.5791, allocations: 0.6968 MB / 0.8368 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.966e-05/0.5792, allocations: 9.734 kB / 0.8368 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.296e-05/0.5792, allocations: 27.95 kB / 0.8368 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.5792, allocations: 4 kB / 0.8368 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.5975, allocations: 2.367 MB / 0.8391 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.312/8.91, allocations: 20.03 kB / 0.8391 GB, free: 11.33 MB / 0.5919 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 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: 12.950067670026328] Failed to read output from testmodel.py, exit status != 0: 9.048822807031684 9.065296808 8.490873364 Calling exit ...