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.001826/0.001826, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001838/0.001839, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002159/0.002159, allocations: 294.3 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9712/0.9712, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 91.86 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5089/0.5107, allocations: 86.96 MB / 0.767 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007183/0.518, allocations: 4.512 MB / 0.7714 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1713/0.6893, allocations: 150.7 MB / 0.9186 GB, free: 8.152 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.6904, allocations: 15.94 kB / 0.9186 GB, free: 8.137 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006677/0.6911, allocations: 170.3 kB / 0.9188 GB, free: 7.969 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001952/0.6931, allocations: 0.533 MB / 0.9193 GB, free: 7.438 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002218/0.6953, allocations: 0.8635 MB / 0.9201 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001682/0.697, allocations: 1.386 MB / 0.9215 GB, free: 5.184 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009662/0.698, allocations: 0.6528 MB / 0.9221 GB, free: 4.508 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008045/0.6988, allocations: 0.506 MB / 0.9226 GB, free: 4 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006387/0.6994, allocations: 0.5289 MB / 0.9231 GB, free: 3.469 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001805/0.6996, allocations: 128 kB / 0.9232 GB, free: 3.344 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.7007, allocations: 0.4957 MB / 0.9237 GB, free: 2.848 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002884/0.701, allocations: 311 kB / 0.924 GB, free: 2.543 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005707/0.7015, allocations: 0.5752 MB / 0.9246 GB, free: 1.965 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002185/0.7037, allocations: 1.692 MB / 0.9262 GB, free: 276 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.7038, allocations: 0 / 0.9262 GB, free: 276 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7038, allocations: 3.938 kB / 0.9262 GB, free: 272 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.971e-05/0.7038, allocations: 0 / 0.9262 GB, free: 272 kB / 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.003039/0.7068, allocations: 1.491 MB / 0.9277 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.7069, allocations: 8.031 kB / 0.9277 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009598/0.7079, allocations: 187.3 kB / 0.9279 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.7092, allocations: 0.7858 MB / 0.9287 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.975e-05/0.7093, allocations: 70 kB / 0.9287 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.7094, allocations: 88 kB / 0.9288 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.7111, allocations: 0.973 MB / 0.9298 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.7111, allocations: 3.938 kB / 0.9298 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.724e-05/0.7112, allocations: 39.98 kB / 0.9298 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.7113, allocations: 23.94 kB / 0.9298 GB, free: 12.47 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/0.7131, allocations: 1.159 MB / 0.931 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004392/0.7175, allocations: 2.674 MB / 0.9336 GB, free: 8.562 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002159/0.7197, allocations: 0.981 MB / 0.9345 GB, free: 7.559 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005822/0.7203, allocations: 322.7 kB / 0.9348 GB, free: 7.238 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.907e-05/0.7204, allocations: 36.67 kB / 0.9349 GB, free: 7.203 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009414/0.7213, allocations: 0.5374 MB / 0.9354 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=88): time 2.584e-06/0.7213, allocations: 0 / 0.9354 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88): time 0.003301/0.7246, allocations: 1.294 MB / 0.9367 GB, free: 5.332 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/0.7248, allocations: 192.9 kB / 0.9368 GB, free: 5.098 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009397/0.7257, allocations: 0.6489 MB / 0.9375 GB, free: 4.441 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.733e-05/0.7258, allocations: 49.7 kB / 0.9375 GB, free: 4.387 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003525/0.7262, allocations: 404.4 kB / 0.9379 GB, free: 3.984 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000244/0.7265, allocations: 276 kB / 0.9382 GB, free: 3.711 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002861/0.7267, allocations: 182.5 kB / 0.9383 GB, free: 3.527 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.7269, allocations: 394.8 kB / 0.9387 GB, free: 3.133 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005791/0.7275, allocations: 285.8 kB / 0.939 GB, free: 2.855 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006957/0.7282, allocations: 391.1 kB / 0.9394 GB, free: 2.457 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.7295, allocations: 0.6476 MB / 0.94 GB, free: 1.801 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.7295, allocations: 0 / 0.94 GB, free: 1.801 MB / 0.7012 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002282/0.7318, allocations: 0.9267 MB / 0.9409 GB, free: 0.8594 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.7318, allocations: 8 kB / 0.9409 GB, free: 0.8516 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.7318, allocations: 3.938 kB / 0.9409 GB, free: 0.8477 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006297/0.7325, allocations: 80.84 kB / 0.941 GB, free: 0.7656 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007191/0.7332, allocations: 179.7 kB / 0.9412 GB, free: 0.5898 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002391/0.7356, allocations: 1.63 MB / 0.9428 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009162/0.7365, allocations: 115.3 kB / 0.9429 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.469e-05/0.7366, allocations: 35.97 kB / 0.9429 GB, free: 14.67 MB / 0.7169 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.0005146/0.7371, allocations: 274.3 kB / 0.9432 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/0.7373, allocations: 86.97 kB / 0.9432 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002603/0.7399, allocations: 1.191 MB / 0.9444 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.74, allocations: 12 kB / 0.9444 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.74, allocations: 0 / 0.9444 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.74, allocations: 7.969 kB / 0.9444 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003824/0.7438, allocations: 2.104 MB / 0.9465 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.7439, allocations: 0 / 0.9465 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000639/0.7445, allocations: 163.8 kB / 0.9466 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000442/0.745, allocations: 76.78 kB / 0.9467 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.581e-05/0.745, allocations: 27.97 kB / 0.9467 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/0.7471, allocations: 1.67 MB / 0.9484 GB, free: 8.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.7471, allocations: 0 / 0.9484 GB, free: 8.84 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/0.7494, allocations: 1.096 MB / 0.9494 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005059/0.7499, allocations: 287.6 kB / 0.9497 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.7501, allocations: 19.91 kB / 0.9497 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007071/0.7508, allocations: 78.42 kB / 0.9498 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/0.751, allocations: 84.81 kB / 0.9499 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.948e-05/0.7511, allocations: 39.98 kB / 0.9499 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006773/0.7518, allocations: 471 kB / 0.9504 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7518, allocations: 0 / 0.9504 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001065/0.7528, allocations: 339.2 kB / 0.9507 GB, free: 6.422 MB / 0.7169 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.001512/0.7543, allocations: 0.6135 MB / 0.9513 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001902/0.7563, allocations: 0.9015 MB / 0.9522 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.7563, allocations: 3.938 kB / 0.9522 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009505/0.7572, allocations: 0.5666 MB / 0.9527 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.7585, allocations: 305.5 kB / 0.953 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004118/0.7626, allocations: 1.882 MB / 0.9549 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006337/0.7633, allocations: 1.048 MB / 0.9559 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003668/0.7637, allocations: 127.4 kB / 0.956 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of SimCode: time 6.91e-07/0.7637, allocations: 0 / 0.956 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of Templates: time 0.4201/1.184, allocations: 19.51 MB / 0.9751 GB, free: 177.8 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)