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.0009404/0.0009404, allocations: 92.22 kB / 19.65 MB, free: 280 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.001509/0.001509, allocations: 173 kB / 23.03 MB, free: 1.547 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.8584/0.8584, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.001582/0.001582, allocations: 226.1 kB / 260.2 MB, free: 12.82 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.6572/0.6572, allocations: 138.4 MB / 455.2 MB, free: 1.535 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.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.412e-06/1.412e-06, allocations: 0 / 0.5551 GB, free: 0.543 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.009e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004756/0.004776, allocations: 4.811 MB / 0.5598 GB, free: 11.71 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.2775/0.2823, allocations: 146.6 MB / 0.7029 GB, free: 5.379 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005948/0.2829, allocations: 23.81 kB / 0.703 GB, free: 5.355 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0004533/0.2834, allocations: 194.2 kB / 0.7031 GB, free: 5.164 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.2845, allocations: 0.6039 MB / 0.7037 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.2856, allocations: 0.8671 MB / 0.7046 GB, free: 3.73 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.000754/0.2864, allocations: 1.487 MB / 0.706 GB, free: 2.238 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004213/0.2868, allocations: 393.9 kB / 0.7064 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005973/0.2874, allocations: 0.7874 MB / 0.7072 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.2876, allocations: 386.8 kB / 0.7075 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 8.21e-05/0.2877, allocations: 112 kB / 0.7076 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004894/0.2882, allocations: 493.4 kB / 0.7081 GB, free: 80 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.2884, allocations: 295.1 kB / 0.7084 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002328/0.2886, allocations: 383 kB / 0.7088 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0009848/0.2896, allocations: 1.253 MB / 0.71 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2896, allocations: 0 / 0.71 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.62e-07/0.2896, allocations: 0 / 0.71 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.2896, allocations: 0 / 0.71 GB, free: 14.16 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.001445/0.2911, allocations: 1.516 MB / 0.7115 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.2911, allocations: 8.75 kB / 0.7115 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009013/0.292, allocations: 359.3 kB / 0.7118 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006678/0.2927, allocations: 0.7189 MB / 0.7125 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.034e-05/0.2927, allocations: 66.55 kB / 0.7126 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.263e-05/0.2928, allocations: 91.94 kB / 0.7127 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008649/0.2937, allocations: 0.9438 MB / 0.7136 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.2937, allocations: 0 / 0.7136 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.172e-05/0.2937, allocations: 36 kB / 0.7136 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.2937, allocations: 23.98 kB / 0.7137 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000865/0.2946, allocations: 0.7997 MB / 0.7144 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001984/0.2966, allocations: 2.196 MB / 0.7166 GB, free: 7.184 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006946/0.2973, allocations: 0.5004 MB / 0.7171 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.2975, allocations: 182.7 kB / 0.7172 GB, free: 6.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.976e-05/0.2976, allocations: 32.58 kB / 0.7173 GB, free: 6.465 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004488/0.298, allocations: 0.4958 MB / 0.7178 GB, free: 5.93 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=84): time 1.974e-06/0.298, allocations: 0 / 0.7178 GB, free: 5.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=84): time 0.001482/0.2995, allocations: 0.8469 MB / 0.7186 GB, free: 5.07 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.2996, allocations: 192.9 kB / 0.7188 GB, free: 4.84 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004286/0.3, allocations: 0.5776 MB / 0.7193 GB, free: 4.25 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.447e-05/0.3, allocations: 45.7 kB / 0.7194 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.3002, allocations: 459.8 kB / 0.7198 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.3004, allocations: 285.6 kB / 0.7201 GB, free: 3.461 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.3005, allocations: 172.2 kB / 0.7202 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.3007, allocations: 0.5586 MB / 0.7208 GB, free: 2.715 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.3009, allocations: 141.9 kB / 0.7209 GB, free: 2.574 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003665/0.3013, allocations: 373.8 kB / 0.7213 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/0.3017, allocations: 382.6 kB / 0.7216 GB, free: 1.77 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.3017, allocations: 7.938 kB / 0.7217 GB, free: 1.762 MB / 0.5261 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.0009064/0.3026, allocations: 0.6528 MB / 0.7223 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3027, allocations: 4 kB / 0.7223 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3027, allocations: 4 kB / 0.7223 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004356/0.3031, allocations: 127.7 kB / 0.7224 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.3034, allocations: 163.7 kB / 0.7226 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.3046, allocations: 1.898 MB / 0.7244 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000264/0.3049, allocations: 79.58 kB / 0.7245 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.406e-05/0.3049, allocations: 39.97 kB / 0.7245 GB, free: 14.66 MB / 0.5417 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.0001813/0.3051, allocations: 210.4 kB / 0.7247 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.3052, allocations: 111.5 kB / 0.7249 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.3064, allocations: 0.8882 MB / 0.7257 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.3064, allocations: 8 kB / 0.7257 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.3064, allocations: 3.938 kB / 0.7257 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3064, allocations: 3.984 kB / 0.7257 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/0.308, allocations: 1.486 MB / 0.7272 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.308, allocations: 0 / 0.7272 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/0.3083, allocations: 151.8 kB / 0.7273 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003226/0.3086, allocations: 111.6 kB / 0.7274 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/0.3086, allocations: 31.91 kB / 0.7275 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/0.3097, allocations: 1.928 MB / 0.7294 GB, free: 9.547 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3097, allocations: 0 / 0.7294 GB, free: 9.547 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009667/0.3107, allocations: 0.8883 MB / 0.7302 GB, free: 8.637 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/0.3109, allocations: 199.2 kB / 0.7304 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.732e-05/0.3109, allocations: 20 kB / 0.7304 GB, free: 8.422 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.3112, allocations: 51.97 kB / 0.7305 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.3113, allocations: 80.8 kB / 0.7306 GB, free: 8.289 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-05/0.3113, allocations: 39.97 kB / 0.7306 GB, free: 8.25 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000265/0.3116, allocations: 387 kB / 0.731 GB, free: 7.875 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3116, allocations: 0 / 0.731 GB, free: 7.875 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005387/0.3121, allocations: 339.1 kB / 0.7313 GB, free: 7.543 MB / 0.5417 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.001114/0.3133, allocations: 0.6275 MB / 0.7319 GB, free: 7.164 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007961/0.314, allocations: 0.6673 MB / 0.7326 GB, free: 6.48 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3141, allocations: 0 / 0.7326 GB, free: 6.48 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004224/0.3145, allocations: 485 kB / 0.733 GB, free: 5.988 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006638/0.3151, allocations: 323.8 kB / 0.7333 GB, free: 5.715 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.3171, allocations: 1.576 MB / 0.7349 GB, free: 4.098 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.3173, allocations: 195.9 kB / 0.735 GB, free: 3.883 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004061/0.3177, allocations: 254.6 kB / 0.7353 GB, free: 3.629 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.3178, allocations: 120.4 kB / 0.7354 GB, free: 3.512 MB / 0.5417 GB Notification: Performance of SimCode: time 7.42e-07/0.3178, allocations: 0 / 0.7354 GB, free: 3.512 MB / 0.5417 GB Notification: Performance of Templates: time 0.01728/0.3351, allocations: 16.61 MB / 0.7516 GB, free: 3.207 MB / 0.5573 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8972586491145194]