Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.conf.json 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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 200.9 kB / 16.64 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 240.3 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002074/0.002074, allocations: 282.7 kB / 290.8 MB, free: 1.957 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9266/0.9266, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 99.83 kB / 0.6814 GB, free: 15.53 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1713, allocations: 86.98 MB / 0.7663 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005888/0.1772, allocations: 4.506 MB / 0.7707 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5095/0.6868, allocations: 150.7 MB / 0.9179 GB, free: 7.426 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007246/0.6875, allocations: 15.94 kB / 0.9179 GB, free: 7.41 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006643/0.6882, allocations: 174.3 kB / 0.918 GB, free: 7.238 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001787/0.6901, allocations: 0.5213 MB / 0.9185 GB, free: 6.734 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002038/0.6921, allocations: 0.885 MB / 0.9194 GB, free: 5.883 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001556/0.6937, allocations: 1.384 MB / 0.9208 GB, free: 4.492 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009307/0.6946, allocations: 0.6396 MB / 0.9214 GB, free: 3.832 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006802/0.6953, allocations: 0.5021 MB / 0.9219 GB, free: 3.328 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005209/0.6959, allocations: 0.525 MB / 0.9224 GB, free: 2.801 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.696, allocations: 124 kB / 0.9225 GB, free: 2.68 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008356/0.6969, allocations: 0.4996 MB / 0.923 GB, free: 2.18 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002563/0.6971, allocations: 311 kB / 0.9233 GB, free: 1.875 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004396/0.6976, allocations: 0.5791 MB / 0.9239 GB, free: 1.293 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001536/0.6991, allocations: 1.699 MB / 0.9255 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.6991, allocations: 4 kB / 0.9255 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6991, allocations: 0 / 0.9255 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.6992, allocations: 0 / 0.9255 GB, free: 15.59 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002355/0.7015, allocations: 1.484 MB / 0.927 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.7016, allocations: 8.031 kB / 0.927 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008839/0.7024, allocations: 195.3 kB / 0.9272 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.7035, allocations: 0.7823 MB / 0.9279 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.329e-05/0.7035, allocations: 66 kB / 0.928 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.7037, allocations: 85.59 kB / 0.9281 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.7052, allocations: 0.9846 MB / 0.929 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.7052, allocations: 0 / 0.929 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.57e-05/0.7053, allocations: 40 kB / 0.9291 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.7053, allocations: 20 kB / 0.9291 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/0.7071, allocations: 1.159 MB / 0.9302 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003795/0.7109, allocations: 2.671 MB / 0.9328 GB, free: 7.902 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002001/0.7129, allocations: 0.9763 MB / 0.9338 GB, free: 6.906 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005516/0.7135, allocations: 330.6 kB / 0.9341 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.118e-05/0.7135, allocations: 40.67 kB / 0.9341 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00084/0.7144, allocations: 0.5257 MB / 0.9347 GB, free: 5.996 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=88): time 2.224e-06/0.7144, allocations: 0 / 0.9347 GB, free: 5.996 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88): time 0.003121/0.7175, allocations: 1.29 MB / 0.9359 GB, free: 4.684 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.276e-05/0.7176, allocations: 196.9 kB / 0.9361 GB, free: 4.445 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007298/0.7184, allocations: 0.6451 MB / 0.9367 GB, free: 3.793 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.961e-05/0.7184, allocations: 57.45 kB / 0.9368 GB, free: 3.734 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002854/0.7187, allocations: 408.4 kB / 0.9372 GB, free: 3.328 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.7189, allocations: 279.9 kB / 0.9374 GB, free: 3.051 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/0.7192, allocations: 186.5 kB / 0.9376 GB, free: 2.863 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.7193, allocations: 382.8 kB / 0.938 GB, free: 2.48 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005485/0.7199, allocations: 289.8 kB / 0.9383 GB, free: 2.199 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006411/0.7205, allocations: 399 kB / 0.9386 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.7217, allocations: 0.6437 MB / 0.9393 GB, free: 1.141 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.7217, allocations: 4 kB / 0.9393 GB, free: 1.137 MB / 0.6856 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001971/0.7237, allocations: 0.9228 MB / 0.9402 GB, free: 204 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.7237, allocations: 8 kB / 0.9402 GB, free: 196 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.7237, allocations: 0 / 0.9402 GB, free: 196 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005699/0.7243, allocations: 84.83 kB / 0.9403 GB, free: 108 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00074/0.7251, allocations: 179.8 kB / 0.9404 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.727, allocations: 1.619 MB / 0.942 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007675/0.7278, allocations: 119.1 kB / 0.9421 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.111e-05/0.7279, allocations: 40.84 kB / 0.9422 GB, free: 14.01 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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 (104): * Single equations (assignments): 103 * 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.0004071/0.7283, allocations: 272.1 kB / 0.9424 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.7284, allocations: 86.95 kB / 0.9425 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002509/0.731, allocations: 1.188 MB / 0.9437 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.731, allocations: 12 kB / 0.9437 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.731, allocations: 0 / 0.9437 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.731, allocations: 7.969 kB / 0.9437 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003279/0.7343, allocations: 2.104 MB / 0.9457 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.7343, allocations: 0 / 0.9457 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006553/0.735, allocations: 171.8 kB / 0.9459 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004311/0.7354, allocations: 72.78 kB / 0.946 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.365e-05/0.7355, allocations: 31.97 kB / 0.946 GB, free: 9.996 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/0.7372, allocations: 1.659 MB / 0.9476 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.7373, allocations: 0 / 0.9476 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/0.7393, allocations: 1.092 MB / 0.9487 GB, free: 7.082 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003584/0.7397, allocations: 295.5 kB / 0.949 GB, free: 6.773 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/0.7399, allocations: 20 kB / 0.949 GB, free: 6.754 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007122/0.7406, allocations: 67.12 kB / 0.9491 GB, free: 6.691 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.7407, allocations: 85.91 kB / 0.9491 GB, free: 6.609 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.016e-05/0.7408, allocations: 47.97 kB / 0.9492 GB, free: 6.562 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005534/0.7414, allocations: 474.9 kB / 0.9496 GB, free: 6.105 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7414, allocations: 0 / 0.9496 GB, free: 6.105 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008785/0.7423, allocations: 343.2 kB / 0.95 GB, free: 5.77 MB / 0.7012 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 (106): * Single equations (assignments): 99 * 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.001336/0.7436, allocations: 0.6195 MB / 0.9506 GB, free: 5.324 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001764/0.7454, allocations: 0.8986 MB / 0.9514 GB, free: 4.414 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/0.7454, allocations: 4 kB / 0.9515 GB, free: 4.41 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009619/0.7464, allocations: 0.5629 MB / 0.952 GB, free: 3.832 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.7477, allocations: 298.3 kB / 0.9523 GB, free: 3.566 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003886/0.7516, allocations: 1.857 MB / 0.9541 GB, free: 1.684 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005833/0.7522, allocations: 1.048 MB / 0.9551 GB, free: 0.6094 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007959/0.753, allocations: 275 kB / 0.9554 GB, free: 344 kB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.7533, allocations: 119.4 kB / 0.9555 GB, free: 228 kB / 0.7012 GB Notification: Performance of SimCode: time 8.62e-07/0.7533, allocations: 3.938 kB / 0.9555 GB, free: 224 kB / 0.7012 GB Notification: Performance of Templates: time 0.02477/0.778, allocations: 15.75 MB / 0.9709 GB, free: 0.6758 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)