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.001299/0.001299, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00158/0.00158, allocations: 218.8 kB / 22.25 MB, free: 5.117 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.382/1.382, allocations: 230.6 MB / 256 MB, free: 7.973 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.002469/0.002469, allocations: 290.8 kB / 312.7 MB, free: 2.785 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.195/1.195, allocations: 180.6 MB / 0.5369 GB, free: 12.88 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.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",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.002756/0.002756, allocations: 96.48 kB / 0.7396 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1763, allocations: 95.39 MB / 0.8327 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003183/0.1794, allocations: 1.638 MB / 0.8343 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.1806, allocations: 0.6094 MB / 0.8349 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.062e-05/0.1806, allocations: 4 kB / 0.8349 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.711e-05/0.1807, allocations: 7.922 kB / 0.8349 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003093/0.181, allocations: 47.7 kB / 0.835 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.1812, allocations: 47.88 kB / 0.835 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.1813, allocations: 107.6 kB / 0.8351 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1814, allocations: 19.92 kB / 0.8352 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.1816, allocations: 55.83 kB / 0.8352 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.1817, allocations: 47.83 kB / 0.8353 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.1817, allocations: 8 kB / 0.8353 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.657e-05/0.1818, allocations: 19.94 kB / 0.8353 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.113e-05/0.1818, allocations: 27.91 kB / 0.8353 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.222e-05/0.1819, allocations: 43.78 kB / 0.8354 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.1821, allocations: 95.67 kB / 0.8354 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1821, allocations: 0 / 0.8354 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1821, allocations: 3.938 kB / 0.8354 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.1821, allocations: 0 / 0.8354 GB, free: 5.812 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.0007073/0.1828, allocations: 333.9 kB / 0.8358 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1828, allocations: 9.344 kB / 0.8358 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.449e-05/0.1829, allocations: 38.75 kB / 0.8358 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.183, allocations: 16.88 kB / 0.8358 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.1832, allocations: 130.4 kB / 0.836 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.1832, allocations: 8.375 kB / 0.836 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.1832, allocations: 8.312 kB / 0.836 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.1834, allocations: 88.16 kB / 0.8361 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1834, allocations: 0 / 0.8361 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.1834, allocations: 12 kB / 0.8361 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.1834, allocations: 7.984 kB / 0.8361 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.1835, allocations: 43.97 kB / 0.8361 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005674/0.1841, allocations: 315.7 kB / 0.8364 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.1844, allocations: 98.66 kB / 0.8365 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.726e-05/0.1845, allocations: 40.84 kB / 0.8365 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.1845, allocations: 4 kB / 0.8366 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002603/0.1848, allocations: 103.3 kB / 0.8367 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.1848, allocations: 0 / 0.8367 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0003928/0.1852, allocations: 149.5 kB / 0.8368 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.1852, allocations: 55.41 kB / 0.8368 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.1854, allocations: 125.8 kB / 0.837 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.1854, allocations: 29.7 kB / 0.837 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.1854, allocations: 92.36 kB / 0.8371 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.729e-05/0.1855, allocations: 39.83 kB / 0.8371 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.1855, allocations: 21.72 kB / 0.8371 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1857, allocations: 318.8 kB / 0.8374 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.038e-05/0.1857, allocations: 35.98 kB / 0.8375 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.575e-05/0.1858, allocations: 29.11 kB / 0.8375 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.1859, allocations: 65.97 kB / 0.8376 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.1859, allocations: 4 kB / 0.8376 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001773/0.1861, allocations: 111.1 kB / 0.8377 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1861, allocations: 4 kB / 0.8377 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1861, allocations: 0 / 0.8377 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1861, allocations: 4 kB / 0.8377 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.1862, allocations: 15.98 kB / 0.8377 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1862, allocations: 0 / 0.8377 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.1863, allocations: 19.81 kB / 0.8377 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.1863, allocations: 7.984 kB / 0.8377 GB, free: 3.281 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.0001063/0.1864, allocations: 126.4 kB / 0.8379 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.1864, allocations: 3.953 kB / 0.8379 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/0.1867, allocations: 150 kB / 0.838 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1867, allocations: 3.984 kB / 0.838 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1867, allocations: 0 / 0.838 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.1867, allocations: 3.938 kB / 0.838 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.1869, allocations: 184.6 kB / 0.8382 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1869, allocations: 0 / 0.8382 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.377e-05/0.187, allocations: 23.94 kB / 0.8382 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.187, allocations: 4 kB / 0.8382 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.187, allocations: 3.984 kB / 0.8382 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.187, allocations: 0 / 0.8382 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.187, allocations: 0 / 0.8382 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.1873, allocations: 171.2 kB / 0.8384 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.576e-05/0.1873, allocations: 7.891 kB / 0.8384 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.1873, allocations: 8 kB / 0.8384 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.1874, allocations: 11.98 kB / 0.8384 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.1875, allocations: 19.91 kB / 0.8384 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.1875, allocations: 4 kB / 0.8384 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.679e-05/0.1875, allocations: 104.1 kB / 0.8385 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1875, allocations: 0 / 0.8385 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002034/0.1877, allocations: 24 kB / 0.8385 GB, free: 2.363 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.0005563/0.1883, allocations: 0.6905 MB / 0.8392 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000202/0.1885, allocations: 89.89 kB / 0.8393 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1885, allocations: 0 / 0.8393 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.954e-05/0.1886, allocations: 47.92 kB / 0.8394 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.1888, allocations: 12.08 kB / 0.8394 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.1903, allocations: 1.463 MB / 0.8408 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.1906, allocations: 0.7002 MB / 0.8415 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.815e-05/0.1907, allocations: 8.5 kB / 0.8415 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.581e-05/0.1907, allocations: 31.41 kB / 0.8415 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.1907, allocations: 3.938 kB / 0.8415 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02637/0.2171, allocations: 2.477 MB / 0.8439 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.967/10.18, allocations: 5.703 kB / 0.8439 GB, free: 12.86 MB / 0.5919 GB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 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: 14.29729512799895] Failed to read output from testmodel.py, exit status != 0: 10.299222454999835 10.325265151 10.138476768 Calling exit ...