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/Complex 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) 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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001498/0.001504, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7183/0.7183, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 403.3 MB, free: 7.066 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009876/0.0009877, allocations: 109.9 kB / 484.4 MB, free: 8.703 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 51.92 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1825, allocations: 80.2 MB / 0.6402 GB, free: 6.789 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007754/0.1903, allocations: 4.227 MB / 0.6443 GB, free: 2.535 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4961/0.6864, allocations: 148.3 MB / 0.7891 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006583/0.6871, allocations: 15.94 kB / 0.7891 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004928/0.6876, allocations: 134.9 kB / 0.7892 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001198/0.6888, allocations: 408 kB / 0.7896 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.6905, allocations: 0.7154 MB / 0.7903 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0009867/0.6915, allocations: 1.152 MB / 0.7914 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007638/0.6923, allocations: 0.6142 MB / 0.792 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004367/0.6927, allocations: 398.3 kB / 0.7924 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004312/0.6932, allocations: 441.9 kB / 0.7928 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 9.944e-05/0.6933, allocations: 52 kB / 0.7929 GB, free: 6.691 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007074/0.694, allocations: 419.6 kB / 0.7933 GB, free: 6.281 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002062/0.6942, allocations: 227.1 kB / 0.7935 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003594/0.6946, allocations: 461.3 kB / 0.7939 GB, free: 5.605 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.6958, allocations: 1.46 MB / 0.7954 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.6959, allocations: 0 / 0.7954 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.32e-07/0.6959, allocations: 4 kB / 0.7954 GB, free: 4.137 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.6959, allocations: 0 / 0.7954 GB, free: 4.137 MB / 0.5261 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.002037/0.6979, allocations: 1.361 MB / 0.7967 GB, free: 2.727 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.698, allocations: 8.031 kB / 0.7967 GB, free: 2.719 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000824/0.6988, allocations: 188 kB / 0.7969 GB, free: 2.535 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009188/0.6997, allocations: 0.7037 MB / 0.7976 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.527e-05/0.6998, allocations: 66 kB / 0.7976 GB, free: 1.723 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.422e-05/0.6999, allocations: 83.94 kB / 0.7977 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.7012, allocations: 0.895 MB / 0.7986 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.7012, allocations: 3.75 kB / 0.7986 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.357e-05/0.7013, allocations: 39.98 kB / 0.7986 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.7013, allocations: 20 kB / 0.7986 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.7029, allocations: 1.104 MB / 0.7997 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003613/0.7066, allocations: 2.526 MB / 0.8022 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.7083, allocations: 0.8695 MB / 0.803 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004803/0.7088, allocations: 286.7 kB / 0.8033 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.116e-05/0.7089, allocations: 36.67 kB / 0.8033 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007088/0.7096, allocations: 447.1 kB / 0.8038 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=76): time 2.124e-06/0.7097, allocations: 4 kB / 0.8038 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76): time 0.002807/0.7125, allocations: 1.112 MB / 0.8049 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.056e-05/0.7126, allocations: 204.5 kB / 0.8051 GB, free: 9.895 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006324/0.7132, allocations: 0.5979 MB / 0.8056 GB, free: 9.293 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.923e-05/0.7133, allocations: 41.69 kB / 0.8057 GB, free: 9.246 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/0.7135, allocations: 380.3 kB / 0.806 GB, free: 8.867 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.7137, allocations: 248.4 kB / 0.8063 GB, free: 8.621 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/0.7139, allocations: 166.4 kB / 0.8064 GB, free: 8.449 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.7141, allocations: 382.7 kB / 0.8068 GB, free: 8.066 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004654/0.7146, allocations: 249.9 kB / 0.807 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005775/0.7151, allocations: 343.1 kB / 0.8074 GB, free: 7.477 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.7162, allocations: 0.5799 MB / 0.8079 GB, free: 6.883 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.7162, allocations: 0 / 0.8079 GB, free: 6.883 MB / 0.5417 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001758/0.7179, allocations: 0.8137 MB / 0.8087 GB, free: 6.059 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.718, allocations: 8 kB / 0.8087 GB, free: 6.051 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.718, allocations: 0 / 0.8087 GB, free: 6.051 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005472/0.7185, allocations: 80.84 kB / 0.8088 GB, free: 5.969 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005993/0.7191, allocations: 155.8 kB / 0.809 GB, free: 5.816 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001916/0.7211, allocations: 1.52 MB / 0.8104 GB, free: 4.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006036/0.7217, allocations: 87.36 kB / 0.8105 GB, free: 4.074 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.285e-05/0.7217, allocations: 35.91 kB / 0.8106 GB, free: 4.039 MB / 0.5417 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.0003475/0.7221, allocations: 257.8 kB / 0.8108 GB, free: 3.777 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.7222, allocations: 79 kB / 0.8109 GB, free: 3.699 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/0.7246, allocations: 1.06 MB / 0.8119 GB, free: 2.637 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.7246, allocations: 8 kB / 0.8119 GB, free: 2.629 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.7246, allocations: 3.984 kB / 0.8119 GB, free: 2.625 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.7246, allocations: 3.984 kB / 0.8119 GB, free: 2.621 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003072/0.7277, allocations: 1.932 MB / 0.8138 GB, free: 0.6328 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.7277, allocations: 0 / 0.8138 GB, free: 0.6328 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005765/0.7283, allocations: 163.7 kB / 0.814 GB, free: 484 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005011/0.7288, allocations: 84.78 kB / 0.8141 GB, free: 396 kB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.058e-05/0.7289, allocations: 27.97 kB / 0.8141 GB, free: 368 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001783/0.7307, allocations: 1.54 MB / 0.8156 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.7307, allocations: 4 kB / 0.8156 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002918/0.7336, allocations: 1.982 MB / 0.8175 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003747/0.734, allocations: 267.7 kB / 0.8178 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.7341, allocations: 20 kB / 0.8178 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005539/0.7347, allocations: 59.94 kB / 0.8179 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.7348, allocations: 65.05 kB / 0.8179 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.026e-05/0.7349, allocations: 35.95 kB / 0.818 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005293/0.7354, allocations: 439 kB / 0.8184 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7355, allocations: 0 / 0.8184 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009525/0.7364, allocations: 307.3 kB / 0.8187 GB, free: 11.45 MB / 0.5573 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.001379/0.7378, allocations: 0.6144 MB / 0.8193 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00161/0.7394, allocations: 0.7888 MB / 0.82 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.7394, allocations: 0 / 0.82 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008827/0.7403, allocations: 0.5121 MB / 0.8205 GB, free: 9.691 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.7415, allocations: 266 kB / 0.8208 GB, free: 9.434 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004276/0.7458, allocations: 2.578 MB / 0.8233 GB, free: 6.82 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005644/0.7464, allocations: 1.035 MB / 0.8243 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000802/0.7472, allocations: 258.2 kB / 0.8246 GB, free: 5.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/0.7475, allocations: 107.4 kB / 0.8247 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of SimCode: time 6.81e-07/0.7475, allocations: 0 / 0.8247 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of Templates: time 0.02075/0.7682, allocations: 14.12 MB / 0.8385 GB, free: 7.398 MB / 0.573 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)