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.001347/0.001347, allocations: 84.05 kB / 19.18 MB, free: 2.527 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.001488/0.001488, allocations: 165.1 kB / 22.46 MB, free: 5.359 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.455/1.455, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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.002495/0.002495, allocations: 242.5 kB / 259.4 MB, free: 476 kB / 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.089/1.089, allocations: 138.4 MB / 454.3 MB, free: 2.039 MB / 366.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: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.6468 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.322e-05, allocations: 6.219 kB / 0.6468 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002706/0.002729, allocations: 1.612 MB / 0.6484 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.003795, allocations: 0.5647 MB / 0.6489 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.441e-05/0.003839, allocations: 0 / 0.6489 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.999e-05/0.003869, allocations: 11.92 kB / 0.6489 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.004114, allocations: 47.64 kB / 0.649 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.00428, allocations: 43.81 kB / 0.649 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.004432, allocations: 115.5 kB / 0.6491 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.188e-05/0.004524, allocations: 15.98 kB / 0.6491 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.004716, allocations: 79.73 kB / 0.6492 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.621e-05/0.004812, allocations: 31.95 kB / 0.6493 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.004836, allocations: 8 kB / 0.6493 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.595e-05/0.004902, allocations: 23.92 kB / 0.6493 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.067e-05/0.004933, allocations: 19.92 kB / 0.6493 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.913e-05/0.004992, allocations: 35.91 kB / 0.6493 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.005175, allocations: 111.6 kB / 0.6494 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.005177, allocations: 0 / 0.6494 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.51e-07/0.005178, allocations: 0 / 0.6494 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.005181, allocations: 0 / 0.6494 GB, free: 2.332 MB / 0.5606 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.0007379/0.005919, allocations: 322 kB / 0.6498 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.005951, allocations: 12.75 kB / 0.6498 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.006125, allocations: 20.88 kB / 0.6498 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.006273, allocations: 133.5 kB / 0.6499 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.006291, allocations: 4.375 kB / 0.6499 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.006313, allocations: 8.375 kB / 0.6499 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.006493, allocations: 82.2 kB / 0.65 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.056e-06/0.006502, allocations: 192 / 0.65 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.006514, allocations: 384 / 0.65 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.006522, allocations: 7.938 kB / 0.65 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.006641, allocations: 47.97 kB / 0.6501 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004712/0.007112, allocations: 272.3 kB / 0.6503 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.007412, allocations: 102.7 kB / 0.6504 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.569e-05/0.007498, allocations: 40.78 kB / 0.6505 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.007514, allocations: 4 kB / 0.6505 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001982/0.007712, allocations: 95.34 kB / 0.6505 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.007714, allocations: 0 / 0.6505 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0003527/0.008066, allocations: 149.5 kB / 0.6507 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.00811, allocations: 55.34 kB / 0.6507 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.008222, allocations: 125.8 kB / 0.6509 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.008244, allocations: 25.7 kB / 0.6509 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.699e-05/0.008311, allocations: 100.5 kB / 0.651 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.00835, allocations: 31.7 kB / 0.651 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.856e-05/0.008409, allocations: 29.7 kB / 0.651 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.008558, allocations: 314.8 kB / 0.6513 GB, free: 224 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.738e-05/0.008626, allocations: 35.92 kB / 0.6514 GB, free: 188 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.97e-05/0.008695, allocations: 27.98 kB / 0.6514 GB, free: 160 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.008826, allocations: 64.8 kB / 0.6515 GB, free: 92 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.008828, allocations: 0 / 0.6515 GB, free: 92 kB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.2503/0.2591, allocations: 107.3 kB / 0.6516 GB, free: 56.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.2591, allocations: 8.562 kB / 0.6516 GB, free: 56.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2591, allocations: 0 / 0.6516 GB, free: 56.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.2591, allocations: 1 kB / 0.6516 GB, free: 56.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.2593, allocations: 22.52 kB / 0.6516 GB, free: 56.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.2593, allocations: 0.5938 kB / 0.6516 GB, free: 56.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.2594, allocations: 14.81 kB / 0.6516 GB, free: 56.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.2594, allocations: 2.156 kB / 0.6516 GB, free: 56.7 MB / 0.5606 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 8.484e-05/0.2595, allocations: 125.7 kB / 0.6517 GB, free: 56.58 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.2595, allocations: 7.453 kB / 0.6517 GB, free: 56.58 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/0.2598, allocations: 151.7 kB / 0.6519 GB, free: 56.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.2598, allocations: 3.844 kB / 0.6519 GB, free: 56.55 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2598, allocations: 0.6875 kB / 0.6519 GB, free: 56.55 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2598, allocations: 0.9375 kB / 0.6519 GB, free: 56.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.26, allocations: 146.2 kB / 0.652 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.26, allocations: 3.75 kB / 0.652 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.179e-05/0.26, allocations: 19.72 kB / 0.6521 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.26, allocations: 1.25 kB / 0.6521 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.2601, allocations: 10.12 kB / 0.6521 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2601, allocations: 0.6562 kB / 0.6521 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2601, allocations: 0 / 0.6521 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.2603, allocations: 168.1 kB / 0.6522 GB, free: 56.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.064e-05/0.2603, allocations: 10.19 kB / 0.6522 GB, free: 56.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.2603, allocations: 1.812 kB / 0.6522 GB, free: 56.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.2604, allocations: 14.28 kB / 0.6522 GB, free: 56.36 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.2605, allocations: 11.58 kB / 0.6523 GB, free: 56.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.2605, allocations: 8.188 kB / 0.6523 GB, free: 56.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.479e-05/0.2606, allocations: 96.78 kB / 0.6524 GB, free: 56.29 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2606, allocations: 0 / 0.6524 GB, free: 56.29 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002181/0.2608, allocations: 24.31 kB / 0.6524 GB, free: 56.29 MB / 0.5606 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 9.375e-05/0.2609, allocations: 105.6 kB / 0.6525 GB, free: 56.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001837/0.261, allocations: 80.06 kB / 0.6526 GB, free: 56.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.261, allocations: 2.969 kB / 0.6526 GB, free: 56.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.268e-05/0.2611, allocations: 50.75 kB / 0.6526 GB, free: 56.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.2613, allocations: 11.92 kB / 0.6526 GB, free: 56.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.2617, allocations: 203 kB / 0.6528 GB, free: 56.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.099e-05/0.2617, allocations: 87.77 kB / 0.6529 GB, free: 56 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.788e-05/0.2618, allocations: 8.641 kB / 0.6529 GB, free: 56 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.2618, allocations: 17.97 kB / 0.6529 GB, free: 56 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.2618, allocations: 0 / 0.6529 GB, free: 56 MB / 0.5606 GB Notification: Performance of Templates: time 0.003498/0.2653, allocations: 1.093 MB / 0.654 GB, free: 55.96 MB / 0.5606 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: 5.744344994425774] Failed to read output from testmodel.py, exit status != 0: 0.27287670224905014 0.28948632300000005 0.280991089 Calling exit ...