Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.0007496/0.0007496, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001251/0.001251, allocations: 174.3 kB / 23.21 MB, free: 1.352 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 0.8514/0.8514, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.001383/0.001383, allocations: 245.7 kB / 260.2 MB, free: 13.03 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 0.6704/0.6704, allocations: 138.4 MB / 455.1 MB, free: 30.02 MB / 410.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.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.6475 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.352e-05, allocations: 9.234 kB / 0.6475 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.2306/0.2306, allocations: 4.47 MB / 0.6519 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.1255/0.3562, allocations: 132.8 MB / 0.7815 GB, free: 1.488 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.3573, allocations: 19.88 kB / 0.7815 GB, free: 1.469 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000575/0.3578, allocations: 206 kB / 0.7817 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001693/0.3595, allocations: 0.5862 MB / 0.7823 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.3614, allocations: 0.8765 MB / 0.7832 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001081/0.3624, allocations: 1.484 MB / 0.7846 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006183/0.3631, allocations: 406.1 kB / 0.785 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007478/0.3638, allocations: 0.7523 MB / 0.7857 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004043/0.3642, allocations: 418.8 kB / 0.7861 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.3643, allocations: 120 kB / 0.7862 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006525/0.365, allocations: 0.4915 MB / 0.7867 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002106/0.3652, allocations: 315 kB / 0.787 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002853/0.3655, allocations: 395 kB / 0.7874 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00187/0.3673, allocations: 1.807 MB / 0.7892 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3673, allocations: 0 / 0.7892 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.655e-06/0.3673, allocations: 4 kB / 0.7892 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.991e-05/0.3674, allocations: 0 / 0.7892 GB, free: 9.621 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.001733/0.3691, allocations: 1.441 MB / 0.7906 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3691, allocations: 8.75 kB / 0.7906 GB, free: 8.137 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008683/0.37, allocations: 252 kB / 0.7908 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000782/0.3708, allocations: 0.7142 MB / 0.7915 GB, free: 7.145 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.679e-05/0.3708, allocations: 74.11 kB / 0.7916 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-05/0.3709, allocations: 84.75 kB / 0.7917 GB, free: 6.992 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.372, allocations: 1.193 MB / 0.7928 GB, free: 5.695 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.372, allocations: 0 / 0.7928 GB, free: 5.695 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.966e-05/0.3721, allocations: 40 kB / 0.7929 GB, free: 5.656 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.3721, allocations: 24 kB / 0.7929 GB, free: 5.633 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.3732, allocations: 1.077 MB / 0.794 GB, free: 4.555 MB / 0.6198 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002499/0.3757, allocations: 2.122 MB / 0.796 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009944/0.3767, allocations: 0.7889 MB / 0.7968 GB, free: 1.605 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/0.3771, allocations: 287.8 kB / 0.7971 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.613e-05/0.3771, allocations: 20.64 kB / 0.7971 GB, free: 1.301 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006366/0.3777, allocations: 0.6241 MB / 0.7977 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=84): time 2.034e-06/0.3777, allocations: 7.781 kB / 0.7977 GB, free: 0.6328 MB / 0.6198 GB Notification: Performance of matching and sorting (n=84): time 0.001936/0.3797, allocations: 1.18 MB / 0.7989 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.329e-05/0.3798, allocations: 188.9 kB / 0.799 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005176/0.3803, allocations: 0.6213 MB / 0.7996 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.837e-05/0.3803, allocations: 41.7 kB / 0.7997 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.3806, allocations: 417.1 kB / 0.8001 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.3807, allocations: 273.7 kB / 0.8003 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.3809, allocations: 174.5 kB / 0.8005 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.381, allocations: 390.7 kB / 0.8009 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/0.3814, allocations: 273.8 kB / 0.8011 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004487/0.3818, allocations: 0.4918 MB / 0.8016 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007127/0.3825, allocations: 0.6281 MB / 0.8022 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.3825, allocations: 0 / 0.8022 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001288/0.3838, allocations: 0.8765 MB / 0.8031 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3838, allocations: 8 kB / 0.8031 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.3838, allocations: 0 / 0.8031 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003065/0.3842, allocations: 84.86 kB / 0.8032 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003408/0.3845, allocations: 163.8 kB / 0.8033 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.3858, allocations: 1.508 MB / 0.8048 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003268/0.3861, allocations: 88.44 kB / 0.8049 GB, free: 9.004 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.55e-05/0.3861, allocations: 39.97 kB / 0.8049 GB, free: 8.965 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * 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.0002547/0.3864, allocations: 263.7 kB / 0.8052 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.583e-05/0.3865, allocations: 95.36 kB / 0.8053 GB, free: 8.605 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.3879, allocations: 1.137 MB / 0.8064 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.3879, allocations: 8 kB / 0.8064 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-06/0.3879, allocations: 4 kB / 0.8064 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.3879, allocations: 3.984 kB / 0.8064 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.3898, allocations: 1.755 MB / 0.8081 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.3898, allocations: 1 kB / 0.8081 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002974/0.3901, allocations: 147.8 kB / 0.8083 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000198/0.3903, allocations: 80.66 kB / 0.8083 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-05/0.3903, allocations: 39.91 kB / 0.8084 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.3915, allocations: 1.519 MB / 0.8099 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3915, allocations: 4 kB / 0.8099 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.3926, allocations: 1.053 MB / 0.8109 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/0.3929, allocations: 198.4 kB / 0.8111 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.523e-05/0.393, allocations: 24 kB / 0.8111 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003171/0.3933, allocations: 73.39 kB / 0.8112 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.3934, allocations: 80.84 kB / 0.8112 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.693e-05/0.3934, allocations: 39.97 kB / 0.8113 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003435/0.3938, allocations: 447 kB / 0.8117 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.3938, allocations: 0 / 0.8117 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006011/0.3944, allocations: 347.1 kB / 0.812 GB, free: 1.508 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001058/0.3954, allocations: 0.6544 MB / 0.8127 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001021/0.3965, allocations: 0.8313 MB / 0.8135 GB, free: 268 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3965, allocations: 0 / 0.8135 GB, free: 268 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005353/0.397, allocations: 0.508 MB / 0.814 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006681/0.3977, allocations: 302.6 kB / 0.8143 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.3996, allocations: 1.768 MB / 0.816 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.3998, allocations: 453.2 kB / 0.8164 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.4001, allocations: 124.4 kB / 0.8166 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of SimCode: time 5.41e-07/0.4001, allocations: 0 / 0.8166 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of Templates: time 0.01481/0.4149, allocations: 19.48 MB / 0.8356 GB, free: 9.695 MB / 0.6667 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.517780093476176] Failed to read output from testmodel.py, exit status != 0: 0.4210245758295059 0.427794592 0.058790875000000006 Calling exit ...