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.001672/0.001672, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001823/0.001823, allocations: 213.3 kB / 22.24 MB, free: 5.262 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.789 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.002679/0.002679, allocations: 275 kB / 312.7 MB, free: 2.621 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.262/1.262, allocations: 180.6 MB / 0.5369 GB, free: 14.46 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: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [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.00295/0.00295, allocations: 101.7 kB / 0.74 GB, free: 27.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1588, allocations: 95.38 MB / 0.8331 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002849/0.1616, allocations: 1.599 MB / 0.8347 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.1627, allocations: 0.5626 MB / 0.8353 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.95e-05/0.1627, allocations: 3.938 kB / 0.8353 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.419e-05/0.1628, allocations: 11.86 kB / 0.8353 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.163, allocations: 40.64 kB / 0.8353 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.1632, allocations: 51.88 kB / 0.8354 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.1633, allocations: 103.6 kB / 0.8355 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.347e-05/0.1634, allocations: 19.92 kB / 0.8355 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.1636, allocations: 59.77 kB / 0.8355 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.1637, allocations: 43.83 kB / 0.8356 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.1637, allocations: 11.98 kB / 0.8356 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.276e-05/0.1638, allocations: 16 kB / 0.8356 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.846e-05/0.1638, allocations: 19.92 kB / 0.8356 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.612e-05/0.1638, allocations: 39.84 kB / 0.8357 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.164, allocations: 111.5 kB / 0.8358 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.164, allocations: 3.938 kB / 0.8358 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.243e-06/0.164, allocations: 0 / 0.8358 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.164, allocations: 4 kB / 0.8358 GB, free: 5.109 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.0007248/0.1647, allocations: 333.9 kB / 0.8361 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.1648, allocations: 8.75 kB / 0.8361 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.1649, allocations: 16.89 kB / 0.8361 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.1651, allocations: 126.4 kB / 0.8362 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.1651, allocations: 384 / 0.8362 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.1651, allocations: 8.375 kB / 0.8362 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.1653, allocations: 93.89 kB / 0.8363 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.1653, allocations: 4 kB / 0.8363 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1653, allocations: 0 / 0.8363 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1653, allocations: 0 / 0.8363 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.1654, allocations: 47.97 kB / 0.8364 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.1659, allocations: 276.3 kB / 0.8366 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.1662, allocations: 94.73 kB / 0.8367 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.837e-05/0.1663, allocations: 36.84 kB / 0.8368 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.1663, allocations: 3.984 kB / 0.8368 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/0.1665, allocations: 111.2 kB / 0.8369 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.1665, allocations: 0 / 0.8369 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0003398/0.1669, allocations: 141.6 kB / 0.837 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.1669, allocations: 59.41 kB / 0.8371 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.167, allocations: 122.5 kB / 0.8372 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.167, allocations: 25.7 kB / 0.8372 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.1671, allocations: 96.36 kB / 0.8373 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.36e-05/0.1672, allocations: 35.83 kB / 0.8373 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.436e-05/0.1672, allocations: 29.7 kB / 0.8374 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1674, allocations: 322.8 kB / 0.8377 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.624e-05/0.1674, allocations: 31.92 kB / 0.8377 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.806e-05/0.1675, allocations: 27.98 kB / 0.8377 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.1676, allocations: 66.97 kB / 0.8378 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1676, allocations: 0 / 0.8378 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002043/0.1678, allocations: 109.6 kB / 0.8379 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1678, allocations: 8 kB / 0.8379 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1678, allocations: 0 / 0.8379 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1678, allocations: 0 / 0.8379 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.168, allocations: 27.91 kB / 0.8379 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.168, allocations: 0 / 0.8379 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.1681, allocations: 23.86 kB / 0.838 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.1681, allocations: 4 kB / 0.838 GB, free: 2.688 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: 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.0001046/0.1682, allocations: 120.6 kB / 0.8381 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.1682, allocations: 7.953 kB / 0.8381 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003144/0.1685, allocations: 149.9 kB / 0.8382 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1685, allocations: 4 kB / 0.8382 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1685, allocations: 0 / 0.8382 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1686, allocations: 0 / 0.8382 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.1687, allocations: 145.2 kB / 0.8384 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1687, allocations: 8 kB / 0.8384 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.348e-05/0.1688, allocations: 16 kB / 0.8384 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.1688, allocations: 4 kB / 0.8384 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.1688, allocations: 3.984 kB / 0.8384 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1688, allocations: 0 / 0.8384 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1688, allocations: 0 / 0.8384 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.1691, allocations: 168.9 kB / 0.8386 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.352e-05/0.1691, allocations: 19.83 kB / 0.8386 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.1692, allocations: 0 / 0.8386 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.1693, allocations: 11.98 kB / 0.8386 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.1693, allocations: 11.97 kB / 0.8386 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.1693, allocations: 8 kB / 0.8386 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.853e-05/0.1694, allocations: 103.3 kB / 0.8387 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1694, allocations: 0 / 0.8387 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002268/0.1696, allocations: 24 kB / 0.8387 GB, free: 1.828 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: 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.0001143/0.1697, allocations: 95.25 kB / 0.8388 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002131/0.17, allocations: 93.33 kB / 0.8389 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.17, allocations: 0 / 0.8389 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.76e-05/0.1701, allocations: 43.92 kB / 0.839 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.1702, allocations: 12 kB / 0.839 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004437/0.1707, allocations: 205.1 kB / 0.8392 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.844e-05/0.1707, allocations: 83.31 kB / 0.8392 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.087e-05/0.1708, allocations: 12.5 kB / 0.8393 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.012e-05/0.1709, allocations: 15.42 kB / 0.8393 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1709, allocations: 0 / 0.8393 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of Templates: time 0.004155/0.175, allocations: 1.154 MB / 0.8404 GB, free: 108 kB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.173311624675989] Failed to read output from testmodel.py, exit status != 0: 0.18254185281693935 0.19868801800000002 0.031462332 Calling exit ...