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.005974/0.005974, allocations: 101 kB / 15.73 MB, free: 6.039 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.001313/0.001313, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8657/0.8657, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 65.92 kB / 0.5813 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.179, allocations: 80.21 MB / 0.6597 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007543/0.1866, allocations: 4.212 MB / 0.6638 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6118/0.7984, allocations: 150.6 MB / 0.8108 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008483/0.7993, allocations: 15.19 kB / 0.8108 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006345/0.7999, allocations: 173.9 kB / 0.811 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001527/0.8015, allocations: 495 kB / 0.8115 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.8033, allocations: 0.8252 MB / 0.8123 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001147/0.8045, allocations: 1.234 MB / 0.8135 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007945/0.8053, allocations: 0.6279 MB / 0.8141 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005548/0.8059, allocations: 460.4 kB / 0.8145 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004646/0.8063, allocations: 467 kB / 0.815 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.8065, allocations: 108.4 kB / 0.8151 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008217/0.8073, allocations: 0.4902 MB / 0.8155 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002213/0.8075, allocations: 280.9 kB / 0.8158 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003802/0.8079, allocations: 0.5049 MB / 0.8163 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001483/0.8094, allocations: 1.541 MB / 0.8178 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.8094, allocations: 0 / 0.8178 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8095, allocations: 0 / 0.8178 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.816e-05/0.8095, allocations: 0.5625 kB / 0.8178 GB, free: 9.898 MB / 0.5919 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.002103/0.8116, allocations: 1.362 MB / 0.8191 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.8116, allocations: 10.72 kB / 0.8192 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008815/0.8125, allocations: 174.8 kB / 0.8193 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.8135, allocations: 0.732 MB / 0.82 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.856e-05/0.8136, allocations: 64.38 kB / 0.8201 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.019e-05/0.8137, allocations: 84.34 kB / 0.8202 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.8151, allocations: 0.8977 MB / 0.8211 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.8151, allocations: 0 / 0.8211 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.572e-05/0.8152, allocations: 42.03 kB / 0.8211 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.8153, allocations: 26.45 kB / 0.8211 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/0.8169, allocations: 1.093 MB / 0.8222 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003676/0.8206, allocations: 2.501 MB / 0.8246 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002076/0.8226, allocations: 0.8622 MB / 0.8255 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005607/0.8232, allocations: 293.2 kB / 0.8258 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-05/0.8233, allocations: 30.75 kB / 0.8258 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009135/0.8242, allocations: 454 kB / 0.8262 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.705e-06/0.8243, allocations: 0 / 0.8262 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.002946/0.8272, allocations: 1.114 MB / 0.8273 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.8273, allocations: 198.7 kB / 0.8275 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006887/0.828, allocations: 0.6007 MB / 0.8281 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.8281, allocations: 40.61 kB / 0.8281 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/0.8284, allocations: 377.3 kB / 0.8285 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002164/0.8286, allocations: 257.5 kB / 0.8287 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002461/0.8289, allocations: 158.5 kB / 0.8289 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000227/0.8291, allocations: 384 kB / 0.8292 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004636/0.8296, allocations: 247.7 kB / 0.8295 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005736/0.8301, allocations: 344.4 kB / 0.8298 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000988/0.8311, allocations: 0.5787 MB / 0.8304 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.8311, allocations: 0 / 0.8304 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001755/0.8329, allocations: 0.8083 MB / 0.8312 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.8329, allocations: 9.812 kB / 0.8312 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.833, allocations: 2.875 kB / 0.8312 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006182/0.8336, allocations: 85.39 kB / 0.8313 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006136/0.8342, allocations: 155.3 kB / 0.8314 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/0.8366, allocations: 1.629 MB / 0.833 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006751/0.8373, allocations: 85.55 kB / 0.8331 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-05/0.8374, allocations: 38.38 kB / 0.8331 GB, free: 15.26 MB / 0.6075 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.000405/0.8378, allocations: 267.4 kB / 0.8334 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.838, allocations: 85.02 kB / 0.8334 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/0.8401, allocations: 1.049 MB / 0.8345 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.8402, allocations: 10.03 kB / 0.8345 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.8402, allocations: 0 / 0.8345 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.8402, allocations: 7.922 kB / 0.8345 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00328/0.8435, allocations: 1.929 MB / 0.8364 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.8435, allocations: 3.984 kB / 0.8364 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006084/0.8441, allocations: 154.4 kB / 0.8365 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004371/0.8446, allocations: 75.88 kB / 0.8366 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.468e-05/0.8446, allocations: 26.39 kB / 0.8366 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001904/0.8465, allocations: 1.659 MB / 0.8382 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.8466, allocations: 3.938 kB / 0.8382 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.8484, allocations: 0.9601 MB / 0.8392 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003834/0.8488, allocations: 263.3 kB / 0.8394 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.965e-05/0.8489, allocations: 21.16 kB / 0.8395 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005344/0.8494, allocations: 57.03 kB / 0.8395 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.8495, allocations: 68.5 kB / 0.8396 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.861e-05/0.8496, allocations: 34.39 kB / 0.8396 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005212/0.8501, allocations: 435.3 kB / 0.84 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8502, allocations: 0 / 0.84 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008915/0.8511, allocations: 304.5 kB / 0.8403 GB, free: 10.22 MB / 0.6075 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.001337/0.8524, allocations: 0.6075 MB / 0.8409 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001539/0.854, allocations: 0.7966 MB / 0.8417 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.854, allocations: 0 / 0.8417 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008151/0.8548, allocations: 0.5086 MB / 0.8422 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.8559, allocations: 306 kB / 0.8425 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/0.8593, allocations: 1.703 MB / 0.8441 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005626/0.8599, allocations: 1.015 MB / 0.8451 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007633/0.8607, allocations: 258.3 kB / 0.8454 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/0.8609, allocations: 99.39 kB / 0.8455 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of SimCode: time 5.61e-07/0.8609, allocations: 0 / 0.8455 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of Templates: time 0.02363/0.8846, allocations: 14.46 MB / 0.8596 GB, free: 7.938 MB / 0.6231 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)