Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.006004/0.006004, allocations: 100.5 kB / 15.73 MB, free: 6 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.001327/0.001327, allocations: 191.4 kB / 16.67 MB, free: 5.926 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.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8566/0.8566, allocations: 132.2 MB / 422.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 59.91 kB / 0.5813 GB, free: 7.551 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5895/0.5912, allocations: 80.22 MB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.00605/0.5973, allocations: 4.194 MB / 0.6638 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1905/0.7879, allocations: 150.6 MB / 0.8108 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.7891, allocations: 15.94 kB / 0.8108 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008918/0.7901, allocations: 174.4 kB / 0.811 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002249/0.7923, allocations: 488.3 kB / 0.8115 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00259/0.795, allocations: 0.8332 MB / 0.8123 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001552/0.7965, allocations: 1.227 MB / 0.8135 GB, free: 8.141 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000888/0.7974, allocations: 0.6328 MB / 0.8141 GB, free: 7.492 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006595/0.7981, allocations: 458.4 kB / 0.8145 GB, free: 7.043 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004995/0.7986, allocations: 461.9 kB / 0.815 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.7987, allocations: 108 kB / 0.8151 GB, free: 6.484 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009689/0.7997, allocations: 0.4917 MB / 0.8156 GB, free: 5.992 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002573/0.8, allocations: 283 kB / 0.8158 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004202/0.8004, allocations: 0.5051 MB / 0.8163 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.8022, allocations: 1.548 MB / 0.8178 GB, free: 3.656 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.8022, allocations: 0 / 0.8178 GB, free: 3.656 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8022, allocations: 0 / 0.8178 GB, free: 3.656 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.621e-05/0.8022, allocations: 4 kB / 0.8178 GB, free: 3.652 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002418/0.8046, allocations: 1.354 MB / 0.8192 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.8047, allocations: 8.031 kB / 0.8192 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009156/0.8056, allocations: 179.5 kB / 0.8193 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.8067, allocations: 0.7345 MB / 0.8201 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.013e-05/0.8067, allocations: 62 kB / 0.8201 GB, free: 1.223 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.8068, allocations: 80 kB / 0.8202 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.8083, allocations: 0.8988 MB / 0.8211 GB, free: 212 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.8083, allocations: 0 / 0.8211 GB, free: 212 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.374e-05/0.8084, allocations: 36 kB / 0.8211 GB, free: 176 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.8084, allocations: 20 kB / 0.8211 GB, free: 156 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/0.8101, allocations: 1.097 MB / 0.8222 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003709/0.8138, allocations: 2.504 MB / 0.8246 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/0.8156, allocations: 0.8689 MB / 0.8255 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005055/0.8161, allocations: 290.6 kB / 0.8258 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.606e-05/0.8162, allocations: 36.67 kB / 0.8258 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007622/0.817, allocations: 443.2 kB / 0.8262 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 2.375e-06/0.817, allocations: 0 / 0.8262 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.002937/0.8199, allocations: 1.112 MB / 0.8273 GB, free: 9.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.8201, allocations: 200.6 kB / 0.8275 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000804/0.8209, allocations: 0.6017 MB / 0.8281 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.261e-05/0.821, allocations: 41.64 kB / 0.8281 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003815/0.8214, allocations: 384.3 kB / 0.8285 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/0.8216, allocations: 252.3 kB / 0.8287 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002824/0.8219, allocations: 154.5 kB / 0.8289 GB, free: 7.996 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002629/0.8222, allocations: 390.7 kB / 0.8293 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005297/0.8227, allocations: 249.9 kB / 0.8295 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006515/0.8234, allocations: 343.1 kB / 0.8298 GB, free: 7.012 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.8245, allocations: 0.5799 MB / 0.8304 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.8245, allocations: 0 / 0.8304 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002047/0.8266, allocations: 0.806 MB / 0.8312 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.8266, allocations: 7.938 kB / 0.8312 GB, free: 5.598 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.8267, allocations: 7.984 kB / 0.8312 GB, free: 5.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006533/0.8273, allocations: 76.84 kB / 0.8313 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006615/0.828, allocations: 159.7 kB / 0.8314 GB, free: 5.355 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002386/0.8304, allocations: 1.619 MB / 0.833 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007432/0.8311, allocations: 83.52 kB / 0.8331 GB, free: 3.512 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-05/0.8312, allocations: 35.97 kB / 0.8331 GB, free: 3.477 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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 (88): * Single equations (assignments): 87 * 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.0004942/0.8317, allocations: 271.5 kB / 0.8334 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002222/0.832, allocations: 82.97 kB / 0.8334 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002583/0.8346, allocations: 1.038 MB / 0.8345 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.8346, allocations: 12 kB / 0.8345 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.966e-06/0.8346, allocations: 3.938 kB / 0.8345 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.8346, allocations: 11.92 kB / 0.8345 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003581/0.8382, allocations: 1.936 MB / 0.8364 GB, free: 44 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.8382, allocations: 0 / 0.8364 GB, free: 44 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006289/0.8389, allocations: 155.9 kB / 0.8365 GB, free: 15.89 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000439/0.8393, allocations: 72.78 kB / 0.8366 GB, free: 15.81 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-05/0.8394, allocations: 23.98 kB / 0.8366 GB, free: 15.79 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/0.8413, allocations: 1.65 MB / 0.8382 GB, free: 13.99 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.8413, allocations: 4.062 kB / 0.8382 GB, free: 13.99 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001945/0.8433, allocations: 0.9589 MB / 0.8392 GB, free: 13.01 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003853/0.8437, allocations: 271.6 kB / 0.8394 GB, free: 12.73 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.8438, allocations: 19.91 kB / 0.8394 GB, free: 12.71 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006005/0.8444, allocations: 60 kB / 0.8395 GB, free: 12.65 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.8446, allocations: 68.84 kB / 0.8396 GB, free: 12.59 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.8447, allocations: 35.98 kB / 0.8396 GB, free: 12.55 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006573/0.8454, allocations: 439 kB / 0.84 GB, free: 12.13 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.41e-07/0.8454, allocations: 0 / 0.84 GB, free: 12.13 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001007/0.8464, allocations: 307.3 kB / 0.8403 GB, free: 11.83 MB / 0.67 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 (93): * Single equations (assignments): 90 * 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.001698/0.8481, allocations: 0.6138 MB / 0.8409 GB, free: 11.43 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001945/0.8501, allocations: 0.796 MB / 0.8417 GB, free: 10.61 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.8501, allocations: 0 / 0.8417 GB, free: 10.61 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009888/0.8511, allocations: 0.5122 MB / 0.8422 GB, free: 10.09 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.8524, allocations: 284.5 kB / 0.8425 GB, free: 9.836 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004013/0.8564, allocations: 1.707 MB / 0.8441 GB, free: 8.102 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007143/0.8572, allocations: 1.008 MB / 0.8451 GB, free: 7.066 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008192/0.858, allocations: 258.3 kB / 0.8454 GB, free: 6.809 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000275/0.8583, allocations: 103.4 kB / 0.8455 GB, free: 6.707 MB / 0.67 GB Notification: Performance of SimCode: time 5.01e-07/0.8583, allocations: 0 / 0.8455 GB, free: 6.707 MB / 0.67 GB Notification: Performance of Templates: time 0.02649/0.8848, allocations: 14.46 MB / 0.8596 GB, free: 8.426 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)