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.0008712/0.0008714, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001778/0.001778, allocations: 266.2 kB / 291.3 MB, free: 1.961 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9571/0.9571, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004404/0.0004404, allocations: 20 kB / 0.598 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1848, allocations: 88.54 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004796/0.1896, allocations: 3.86 MB / 0.6882 GB, free: 11.6 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5492/0.7389, allocations: 136.9 MB / 0.8219 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.7401, allocations: 14.66 kB / 0.8219 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006134/0.7407, allocations: 139.1 kB / 0.8221 GB, free: 472 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001725/0.7425, allocations: 433.6 kB / 0.8225 GB, free: 284 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002569/0.7451, allocations: 0.6644 MB / 0.8231 GB, free: 120 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001895/0.747, allocations: 1.193 MB / 0.8243 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008469/0.7478, allocations: 496.8 kB / 0.8248 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008741/0.7487, allocations: 360.2 kB / 0.8251 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005787/0.7493, allocations: 394 kB / 0.8255 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.7494, allocations: 28.06 kB / 0.8255 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.7506, allocations: 359.7 kB / 0.8259 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002879/0.7509, allocations: 198.7 kB / 0.8261 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003035/0.7512, allocations: 201 kB / 0.8263 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001437/0.7527, allocations: 1.218 MB / 0.8274 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.7527, allocations: 0 / 0.8274 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.734e-06/0.7527, allocations: 0 / 0.8274 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.529e-05/0.7527, allocations: 0 / 0.8274 GB, free: 14.68 MB / 0.5606 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.002478/0.7552, allocations: 1.278 MB / 0.8287 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.7552, allocations: 8.438 kB / 0.8287 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009202/0.7562, allocations: 207.8 kB / 0.8289 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.7572, allocations: 0.7321 MB / 0.8296 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.539e-05/0.7573, allocations: 69.34 kB / 0.8297 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.7574, allocations: 85.53 kB / 0.8298 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.759, allocations: 0.9787 MB / 0.8307 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.7591, allocations: 4 kB / 0.8307 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-05/0.7592, allocations: 38.41 kB / 0.8308 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.7592, allocations: 23.83 kB / 0.8308 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.7609, allocations: 1.155 MB / 0.8319 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004272/0.7652, allocations: 2.737 MB / 0.8346 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001941/0.7671, allocations: 0.9863 MB / 0.8355 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005295/0.7677, allocations: 328 kB / 0.8359 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-05/0.7678, allocations: 39.48 kB / 0.8359 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009494/0.7687, allocations: 0.5318 MB / 0.8364 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=88): time 2.825e-06/0.7687, allocations: 0 / 0.8364 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88): time 0.00298/0.7717, allocations: 1.3 MB / 0.8377 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.7718, allocations: 189.9 kB / 0.8379 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008225/0.7727, allocations: 0.6481 MB / 0.8385 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.142e-05/0.7728, allocations: 44.83 kB / 0.8385 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000312/0.7731, allocations: 402.8 kB / 0.8389 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002288/0.7733, allocations: 288.7 kB / 0.8392 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.7734, allocations: 15.5 kB / 0.8392 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.7735, allocations: 386.4 kB / 0.8396 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005054/0.774, allocations: 293 kB / 0.8399 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005846/0.7746, allocations: 389.4 kB / 0.8402 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005625/0.7752, allocations: 334.4 kB / 0.8405 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.7752, allocations: 3.25 kB / 0.8406 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001856/0.7771, allocations: 0.9125 MB / 0.8414 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.7771, allocations: 7.406 kB / 0.8415 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.7771, allocations: 4.062 kB / 0.8415 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005292/0.7777, allocations: 89.19 kB / 0.8415 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007008/0.7784, allocations: 181.3 kB / 0.8417 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.7803, allocations: 1.515 MB / 0.8432 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008664/0.7812, allocations: 114.8 kB / 0.8433 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.168e-05/0.7813, allocations: 40.59 kB / 0.8433 GB, free: 6.605 MB / 0.5606 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 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.decAng.tNext,decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,solAzi.outsidePolarCircle,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005627/0.7819, allocations: 283.2 kB / 0.8436 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.782, allocations: 92.22 kB / 0.8437 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002463/0.7845, allocations: 1.21 MB / 0.8449 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.7845, allocations: 10.72 kB / 0.8449 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.7845, allocations: 0 / 0.8449 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.7845, allocations: 3.984 kB / 0.8449 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003533/0.7881, allocations: 2.11 MB / 0.847 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.7881, allocations: 0 / 0.847 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006346/0.7887, allocations: 176.3 kB / 0.8471 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004534/0.7892, allocations: 80.67 kB / 0.8472 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.845e-05/0.7893, allocations: 30.64 kB / 0.8472 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001724/0.791, allocations: 1.543 MB / 0.8487 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.791, allocations: 3.031 kB / 0.8487 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002119/0.7932, allocations: 1.091 MB / 0.8498 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005143/0.7937, allocations: 302.4 kB / 0.8501 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.7938, allocations: 25.33 kB / 0.8501 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007006/0.7946, allocations: 85.27 kB / 0.8502 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/0.7948, allocations: 83.31 kB / 0.8503 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.769e-05/0.7949, allocations: 39.48 kB / 0.8503 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00065/0.7955, allocations: 465.6 kB / 0.8508 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7955, allocations: 0 / 0.8508 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001102/0.7966, allocations: 343.6 kB / 0.8511 GB, free: 1.316 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001469/0.7981, allocations: 0.619 MB / 0.8517 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001849/0.8, allocations: 0.9021 MB / 0.8526 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.8, allocations: 0 / 0.8526 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009209/0.8009, allocations: 0.5679 MB / 0.8531 GB, free: 240 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.8022, allocations: 267.1 kB / 0.8534 GB, free: 104 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004322/0.8065, allocations: 2.32 MB / 0.8556 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005827/0.8072, allocations: 1.043 MB / 0.8567 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001093/0.8083, allocations: 273.4 kB / 0.8569 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002873/0.8085, allocations: 116.2 kB / 0.857 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of SimCode: time 9.12e-07/0.8086, allocations: 0 / 0.857 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of Templates: time 0.0263/0.8349, allocations: 14.53 MB / 0.8712 GB, free: 0.6289 MB / 0.5762 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)