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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7554/0.7554, allocations: 143.4 MB / 159.2 MB, free: 4.832 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 186.7 kB / 191.9 MB, free: 5.707 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 447.3 MB, free: 5.832 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 103.7 kB / 0.517 GB, free: 3.711 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002171/0.002171, allocations: 285.8 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 79.88 kB / 0.6886 GB, free: 3.844 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3602, allocations: 81.29 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004792/0.365, allocations: 4.129 MB / 0.772 GB, free: 23.54 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.5231/0.8882, allocations: 148.1 MB / 0.9166 GB, free: 0 / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006295/0.8889, allocations: 17.47 kB / 0.9167 GB, free: 0 / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004684/0.8894, allocations: 132.4 kB / 0.9168 GB, free: 0 / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001168/0.8905, allocations: 402.5 kB / 0.9172 GB, free: 15.98 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.892, allocations: 0.6893 MB / 0.9178 GB, free: 15.98 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001066/0.8931, allocations: 1.118 MB / 0.9189 GB, free: 15.97 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007851/0.8939, allocations: 0.5949 MB / 0.9195 GB, free: 15.86 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004505/0.8944, allocations: 379.9 kB / 0.9199 GB, free: 15.86 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004708/0.8949, allocations: 418.7 kB / 0.9203 GB, free: 15.86 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.895, allocations: 52.09 kB / 0.9203 GB, free: 15.86 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007398/0.8957, allocations: 396.1 kB / 0.9207 GB, free: 15.85 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002018/0.8959, allocations: 220.6 kB / 0.9209 GB, free: 15.85 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004337/0.8964, allocations: 448.1 kB / 0.9213 GB, free: 15.85 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.8977, allocations: 1.404 MB / 0.9227 GB, free: 15.76 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.8977, allocations: 0 / 0.9227 GB, free: 15.76 MB / 0.573 GB Notification: Performance of FrontEnd: time 9.22e-07/0.8977, allocations: 0 / 0.9227 GB, free: 15.76 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.8977, allocations: 0 / 0.9227 GB, free: 15.76 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002035/0.8998, allocations: 1.319 MB / 0.924 GB, free: 15.03 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.8998, allocations: 8.188 kB / 0.924 GB, free: 15.03 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008337/0.9007, allocations: 172.5 kB / 0.9242 GB, free: 14.97 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008987/0.9016, allocations: 0.7124 MB / 0.9249 GB, free: 14.67 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.405e-05/0.9016, allocations: 61.12 kB / 0.9249 GB, free: 14.67 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.527e-05/0.9017, allocations: 74.31 kB / 0.925 GB, free: 14.67 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.903, allocations: 0.8666 MB / 0.9258 GB, free: 14.52 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.903, allocations: 1.875 kB / 0.9258 GB, free: 14.52 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.669e-05/0.9031, allocations: 32.03 kB / 0.9259 GB, free: 14.52 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.9031, allocations: 19.47 kB / 0.9259 GB, free: 14.52 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.9046, allocations: 1.066 MB / 0.9269 GB, free: 14.51 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003321/0.908, allocations: 2.377 MB / 0.9292 GB, free: 13.73 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.9093, allocations: 0.7938 MB / 0.93 GB, free: 13.61 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005014/0.9098, allocations: 273.2 kB / 0.9303 GB, free: 13.6 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.575e-05/0.9099, allocations: 29.28 kB / 0.9303 GB, free: 13.6 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008287/0.9107, allocations: 436.5 kB / 0.9307 GB, free: 13.51 MB / 0.573 GB Notification: Performance of pre-optimization done (n=72): time 2.705e-06/0.9107, allocations: 0 / 0.9307 GB, free: 13.51 MB / 0.573 GB Notification: Performance of matching and sorting (n=72): time 0.002677/0.9134, allocations: 1.074 MB / 0.9318 GB, free: 13.31 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.187e-05/0.9135, allocations: 192.7 kB / 0.932 GB, free: 13.09 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000738/0.9143, allocations: 0.5853 MB / 0.9325 GB, free: 12.96 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/0.9143, allocations: 40.2 kB / 0.9326 GB, free: 12.93 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002743/0.9146, allocations: 371.3 kB / 0.9329 GB, free: 12.75 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002327/0.9148, allocations: 243.1 kB / 0.9332 GB, free: 12.6 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003434/0.9152, allocations: 151.3 kB / 0.9333 GB, free: 12.58 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002538/0.9155, allocations: 384.7 kB / 0.9337 GB, free: 12.26 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006958/0.9162, allocations: 230.9 kB / 0.9339 GB, free: 12.26 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008191/0.917, allocations: 327.6 kB / 0.9342 GB, free: 12.21 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.9182, allocations: 0.5496 MB / 0.9347 GB, free: 12.17 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.9182, allocations: 5.344 kB / 0.9347 GB, free: 12.17 MB / 0.573 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00211/0.9203, allocations: 0.768 MB / 0.9355 GB, free: 12.07 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.9204, allocations: 3.562 kB / 0.9355 GB, free: 12.07 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.9204, allocations: 2.594 kB / 0.9355 GB, free: 12.07 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006525/0.9211, allocations: 84.38 kB / 0.9356 GB, free: 12.06 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006279/0.9217, allocations: 143.3 kB / 0.9357 GB, free: 12.06 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/0.9242, allocations: 1.523 MB / 0.9372 GB, free: 10.76 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006861/0.9249, allocations: 83.5 kB / 0.9373 GB, free: 10.73 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.627e-05/0.925, allocations: 33.59 kB / 0.9373 GB, free: 10.73 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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.0004863/0.9255, allocations: 253.5 kB / 0.9376 GB, free: 10.61 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.9257, allocations: 74.03 kB / 0.9376 GB, free: 10.57 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002539/0.9282, allocations: 1.003 MB / 0.9386 GB, free: 10.45 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.9282, allocations: 8.156 kB / 0.9386 GB, free: 10.45 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.9283, allocations: 0 / 0.9386 GB, free: 10.45 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.9283, allocations: 3.625 kB / 0.9386 GB, free: 10.45 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003632/0.9319, allocations: 1.853 MB / 0.9404 GB, free: 10.09 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.9319, allocations: 4 kB / 0.9404 GB, free: 10.08 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005566/0.9325, allocations: 142.6 kB / 0.9406 GB, free: 10.08 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005367/0.933, allocations: 79.8 kB / 0.9406 GB, free: 10.07 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.11e-05/0.9331, allocations: 26.72 kB / 0.9407 GB, free: 10.07 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002104/0.9352, allocations: 1.55 MB / 0.9422 GB, free: 8.762 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.9352, allocations: 2.438 kB / 0.9422 GB, free: 8.762 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00316/0.9384, allocations: 1.914 MB / 0.9441 GB, free: 7.945 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004179/0.9388, allocations: 255.4 kB / 0.9443 GB, free: 7.801 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.939, allocations: 21.03 kB / 0.9443 GB, free: 7.797 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005777/0.9395, allocations: 51.06 kB / 0.9444 GB, free: 7.797 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/0.9397, allocations: 67.75 kB / 0.9444 GB, free: 7.793 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.5e-05/0.9398, allocations: 28.33 kB / 0.9445 GB, free: 7.793 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006318/0.9404, allocations: 428.4 kB / 0.9449 GB, free: 7.703 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9405, allocations: 0 / 0.9449 GB, free: 7.703 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001252/0.9417, allocations: 295 kB / 0.9451 GB, free: 7.652 MB / 0.573 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,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001743/0.9435, allocations: 0.6052 MB / 0.9457 GB, free: 7.43 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001768/0.9452, allocations: 0.7495 MB / 0.9465 GB, free: 7.297 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.9453, allocations: 0 / 0.9465 GB, free: 7.297 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009321/0.9462, allocations: 498.7 kB / 0.9469 GB, free: 7.172 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.9475, allocations: 275.2 kB / 0.9472 GB, free: 7.148 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004994/0.9525, allocations: 2.484 MB / 0.9496 GB, free: 5.941 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008232/0.9534, allocations: 1.018 MB / 0.9506 GB, free: 5.23 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000899/0.9543, allocations: 248.5 kB / 0.9509 GB, free: 5.164 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002668/0.9546, allocations: 100.8 kB / 0.951 GB, free: 5.156 MB / 0.573 GB Notification: Performance of SimCode: time 5.71e-07/0.9546, allocations: 0 / 0.951 GB, free: 5.156 MB / 0.573 GB Notification: Performance of Templates: time 0.0279/0.9825, allocations: 13.65 MB / 0.9643 GB, free: 15.13 MB / 0.5886 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (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)