Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.001755/0.001755, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.00194/0.00194, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.535/1.535, allocations: 177.1 MB / 203.1 MB, free: 5.633 MB / 186.7 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.003249/0.003249, allocations: 242 kB / 259.8 MB, free: 12.87 MB / 250.7 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.187/1.187, allocations: 138.4 MB / 454.7 MB, free: 1.469 MB / 362.7 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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.5543 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.878e-05/3.03e-05, allocations: 9.969 kB / 0.5543 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.01031/0.01034, allocations: 6.74 MB / 0.5609 GB, free: 10.11 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3898/0.4001, allocations: 146.8 MB / 0.7043 GB, free: 3.441 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009127/0.4011, allocations: 27.81 kB / 0.7043 GB, free: 3.414 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.000585/0.4016, allocations: 276.2 kB / 0.7046 GB, free: 3.145 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00183/0.4035, allocations: 0.8173 MB / 0.7054 GB, free: 2.34 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.4052, allocations: 1.02 MB / 0.7064 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001773/0.407, allocations: 2.186 MB / 0.7085 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.4082, allocations: 0.7385 MB / 0.7092 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0017/0.4099, allocations: 1.267 MB / 0.7104 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.4109, allocations: 0.6704 MB / 0.7111 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0003357/0.4113, allocations: 220 kB / 0.7113 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.4125, allocations: 0.5892 MB / 0.7119 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0005311/0.413, allocations: 0.4905 MB / 0.7124 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0008239/0.4138, allocations: 0.6698 MB / 0.713 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.003854/0.4177, allocations: 2.866 MB / 0.7158 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4177, allocations: 0 / 0.7158 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4177, allocations: 4 kB / 0.7158 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.727e-05/0.4177, allocations: 0 / 0.7158 GB, free: 7.574 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.004198/0.4219, allocations: 2.28 MB / 0.718 GB, free: 5.246 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.4219, allocations: 8.75 kB / 0.7181 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003174/0.4251, allocations: 0.5883 MB / 0.7186 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00178/0.4269, allocations: 0.9554 MB / 0.7196 GB, free: 3.66 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002015/0.4271, allocations: 171 kB / 0.7197 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002403/0.4273, allocations: 155.9 kB / 0.7199 GB, free: 3.328 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003508/0.4309, allocations: 1.967 MB / 0.7218 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.441e-05/0.4309, allocations: 3.75 kB / 0.7218 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/0.4311, allocations: 68 kB / 0.7219 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-05/0.4311, allocations: 39.98 kB / 0.7219 GB, free: 1.117 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002895/0.434, allocations: 1.51 MB / 0.7234 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008245/0.4422, allocations: 4.806 MB / 0.7281 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/0.4445, allocations: 0.9774 MB / 0.729 GB, free: 9.707 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007425/0.4452, allocations: 366.5 kB / 0.7294 GB, free: 9.344 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/0.4453, allocations: 44.95 kB / 0.7294 GB, free: 9.301 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001449/0.4468, allocations: 0.8557 MB / 0.7303 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=111): time 2.405e-06/0.4468, allocations: 0 / 0.7303 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of matching and sorting (n=111): time 0.004205/0.451, allocations: 1.503 MB / 0.7317 GB, free: 6.883 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001652/0.4511, allocations: 204.8 kB / 0.7319 GB, free: 6.637 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.4525, allocations: 0.9252 MB / 0.7328 GB, free: 5.691 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-05/0.4526, allocations: 49.7 kB / 0.7329 GB, free: 5.637 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007164/0.4533, allocations: 0.7418 MB / 0.7336 GB, free: 4.883 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004204/0.4537, allocations: 404.8 kB / 0.734 GB, free: 4.484 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004646/0.4542, allocations: 272.5 kB / 0.7342 GB, free: 4.211 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004586/0.4546, allocations: 0.6485 MB / 0.7349 GB, free: 3.551 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007568/0.4554, allocations: 354.4 kB / 0.7352 GB, free: 3.203 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.4567, allocations: 0.6531 MB / 0.7358 GB, free: 2.496 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/0.4584, allocations: 0.843 MB / 0.7367 GB, free: 1.633 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.4584, allocations: 0 / 0.7367 GB, free: 1.633 MB / 0.5417 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002798/0.4612, allocations: 1.168 MB / 0.7378 GB, free: 464 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.4612, allocations: 7.938 kB / 0.7378 GB, free: 456 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.4612, allocations: 0 / 0.7378 GB, free: 456 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.4622, allocations: 143.6 kB / 0.738 GB, free: 308 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009971/0.4632, allocations: 231.6 kB / 0.7382 GB, free: 76 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002766/0.466, allocations: 2.036 MB / 0.7402 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008427/0.4668, allocations: 106 kB / 0.7403 GB, free: 13.81 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.4669, allocations: 47.95 kB / 0.7403 GB, free: 13.77 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006591/0.4676, allocations: 363 kB / 0.7407 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003128/0.4679, allocations: 143.3 kB / 0.7408 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003538/0.4715, allocations: 1.446 MB / 0.7422 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/0.4715, allocations: 19.94 kB / 0.7422 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4715, allocations: 1.875 kB / 0.7422 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/0.4715, allocations: 7.969 kB / 0.7422 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/0.4737, allocations: 1.215 MB / 0.7434 GB, free: 10.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.4737, allocations: 0 / 0.7434 GB, free: 10.53 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008538/0.4746, allocations: 191.7 kB / 0.7436 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007954/0.4753, allocations: 127.6 kB / 0.7437 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-05/0.4754, allocations: 39.91 kB / 0.7438 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002575/0.478, allocations: 2.081 MB / 0.7458 GB, free: 7.973 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.478, allocations: 8.031 kB / 0.7458 GB, free: 7.965 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002982/0.481, allocations: 1.287 MB / 0.7471 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006703/0.4817, allocations: 270.9 kB / 0.7473 GB, free: 6.379 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/0.4818, allocations: 35.89 kB / 0.7474 GB, free: 6.344 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007228/0.4826, allocations: 63.94 kB / 0.7474 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000243/0.4828, allocations: 101.1 kB / 0.7475 GB, free: 6.184 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.4829, allocations: 51.95 kB / 0.7476 GB, free: 6.133 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0009225/0.4838, allocations: 0.6121 MB / 0.7482 GB, free: 5.527 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9e-08/0.4838, allocations: 0 / 0.7482 GB, free: 5.527 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001337/0.4852, allocations: 0.4945 MB / 0.7486 GB, free: 5.031 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003474/0.4887, allocations: 0.668 MB / 0.7493 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002768/0.4914, allocations: 1.162 MB / 0.7504 GB, free: 3.453 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4914, allocations: 4 kB / 0.7504 GB, free: 3.449 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001381/0.4928, allocations: 0.7379 MB / 0.7512 GB, free: 2.691 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.4943, allocations: 377.7 kB / 0.7515 GB, free: 2.359 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004877/0.4991, allocations: 2.488 MB / 0.7539 GB, free: 15.82 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007851/0.4999, allocations: 0.6426 MB / 0.7546 GB, free: 15.14 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009539/0.5009, allocations: 288.5 kB / 0.7548 GB, free: 14.86 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004183/0.5013, allocations: 144.4 kB / 0.755 GB, free: 14.71 MB / 0.573 GB Notification: Performance of SimCode: time 6.41e-07/0.5013, allocations: 0 / 0.755 GB, free: 14.71 MB / 0.573 GB Notification: Performance of Templates: time 0.03939/0.5407, allocations: 19.83 MB / 0.7744 GB, free: 11.2 MB / 0.5886 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.059436007984914]