Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007614/0.007614, allocations: 102.9 kB / 15.74 MB, free: 6.496 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.001277/0.001277, allocations: 198.7 kB / 16.68 MB, free: 6.375 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7314/0.7314, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 59.91 kB / 0.5813 GB, free: 7.582 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.471/0.4722, allocations: 80.21 MB / 0.6597 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005801/0.4781, allocations: 4.145 MB / 0.6637 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1844/0.6625, allocations: 150.5 MB / 0.8107 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.6636, allocations: 15.94 kB / 0.8107 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005827/0.6642, allocations: 170.4 kB / 0.8108 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001602/0.6658, allocations: 477 kB / 0.8113 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.6678, allocations: 0.799 MB / 0.8121 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001133/0.6689, allocations: 1.184 MB / 0.8132 GB, free: 8.465 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007933/0.6697, allocations: 0.6227 MB / 0.8138 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004886/0.6702, allocations: 430.5 kB / 0.8142 GB, free: 7.406 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000492/0.6707, allocations: 455.3 kB / 0.8147 GB, free: 6.961 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.6709, allocations: 107.9 kB / 0.8148 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009004/0.6718, allocations: 463.6 kB / 0.8152 GB, free: 6.402 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002344/0.672, allocations: 275.1 kB / 0.8155 GB, free: 6.133 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000382/0.6724, allocations: 0.4935 MB / 0.816 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0016/0.674, allocations: 1.501 MB / 0.8174 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.6741, allocations: 0 / 0.8174 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6741, allocations: 0 / 0.8174 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.435e-05/0.6741, allocations: 0 / 0.8174 GB, free: 4.133 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002104/0.6762, allocations: 1.36 MB / 0.8188 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.6762, allocations: 8.031 kB / 0.8188 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008388/0.6771, allocations: 184.1 kB / 0.8189 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009909/0.6781, allocations: 0.735 MB / 0.8197 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.835e-05/0.6781, allocations: 62 kB / 0.8197 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.496e-05/0.6782, allocations: 76 kB / 0.8198 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.6796, allocations: 0.8676 MB / 0.8206 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.6797, allocations: 4 kB / 0.8206 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.422e-05/0.6797, allocations: 36 kB / 0.8207 GB, free: 0.6719 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.6798, allocations: 24 kB / 0.8207 GB, free: 0.6484 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.6813, allocations: 1.069 MB / 0.8217 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003212/0.6846, allocations: 2.356 MB / 0.824 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.6858, allocations: 0.7978 MB / 0.8248 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004531/0.6862, allocations: 282.7 kB / 0.8251 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.221e-05/0.6863, allocations: 32.69 kB / 0.8251 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007128/0.687, allocations: 423.2 kB / 0.8255 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=73): time 2.033e-06/0.6871, allocations: 0 / 0.8255 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73): time 0.002751/0.6898, allocations: 1.082 MB / 0.8266 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.6899, allocations: 196.6 kB / 0.8268 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006723/0.6906, allocations: 0.5822 MB / 0.8273 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.143e-05/0.6907, allocations: 41.7 kB / 0.8274 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002667/0.691, allocations: 388.9 kB / 0.8278 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.6912, allocations: 245.9 kB / 0.828 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.6914, allocations: 158.5 kB / 0.8281 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.6915, allocations: 374.8 kB / 0.8285 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004396/0.692, allocations: 241.9 kB / 0.8287 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005247/0.6925, allocations: 335.9 kB / 0.829 GB, free: 7.875 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000955/0.6935, allocations: 0.569 MB / 0.8296 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6935, allocations: 0 / 0.8296 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001638/0.6951, allocations: 0.7906 MB / 0.8304 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.6951, allocations: 7.984 kB / 0.8304 GB, free: 6.484 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.6952, allocations: 0 / 0.8304 GB, free: 6.484 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005546/0.6957, allocations: 80.91 kB / 0.8305 GB, free: 6.402 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005685/0.6963, allocations: 147.8 kB / 0.8306 GB, free: 6.258 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.6982, allocations: 1.634 MB / 0.8322 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005567/0.6988, allocations: 75.78 kB / 0.8323 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.914e-05/0.6989, allocations: 36.03 kB / 0.8323 GB, free: 4.367 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (85): * Single equations (assignments): 84 * 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.00034/0.6992, allocations: 255.9 kB / 0.8325 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.6994, allocations: 91.41 kB / 0.8326 GB, free: 4.02 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002042/0.7014, allocations: 0.9979 MB / 0.8336 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.7014, allocations: 8 kB / 0.8336 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.7014, allocations: 3.938 kB / 0.8336 GB, free: 3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.7015, allocations: 3.984 kB / 0.8336 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/0.7043, allocations: 1.862 MB / 0.8354 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.237e-06/0.7043, allocations: 4 kB / 0.8354 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005283/0.7048, allocations: 147.8 kB / 0.8356 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003986/0.7052, allocations: 72.77 kB / 0.8357 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.201e-05/0.7053, allocations: 23.98 kB / 0.8357 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001733/0.707, allocations: 1.65 MB / 0.8373 GB, free: 15.02 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.707, allocations: 7.875 kB / 0.8373 GB, free: 15.01 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.7087, allocations: 0.9244 MB / 0.8382 GB, free: 14.07 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/0.709, allocations: 260.2 kB / 0.8384 GB, free: 13.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.7091, allocations: 19.94 kB / 0.8385 GB, free: 13.78 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005147/0.7096, allocations: 55.94 kB / 0.8385 GB, free: 13.72 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.7097, allocations: 60.84 kB / 0.8386 GB, free: 13.66 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.896e-05/0.7098, allocations: 31.98 kB / 0.8386 GB, free: 13.63 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004855/0.7103, allocations: 435 kB / 0.839 GB, free: 13.21 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.01e-07/0.7103, allocations: 0 / 0.839 GB, free: 13.21 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008161/0.7111, allocations: 287.2 kB / 0.8393 GB, free: 12.93 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 (87): * Single equations (assignments): 84 * 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.001411/0.7126, allocations: 0.6018 MB / 0.8399 GB, free: 12.54 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001601/0.7142, allocations: 0.7728 MB / 0.8406 GB, free: 11.75 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.7142, allocations: 4 kB / 0.8406 GB, free: 11.75 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008588/0.7151, allocations: 496.2 kB / 0.8411 GB, free: 11.26 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.7162, allocations: 289.6 kB / 0.8414 GB, free: 11 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003493/0.7197, allocations: 1.671 MB / 0.843 GB, free: 9.301 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005627/0.7203, allocations: 1.003 MB / 0.844 GB, free: 8.273 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007573/0.7211, allocations: 262 kB / 0.8443 GB, free: 8.016 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/0.7213, allocations: 99.39 kB / 0.8443 GB, free: 7.918 MB / 0.67 GB Notification: Performance of SimCode: time 9.92e-07/0.7213, allocations: 0 / 0.8443 GB, free: 7.918 MB / 0.67 GB Notification: Performance of Templates: time 0.0246/0.7459, allocations: 13.94 MB / 0.858 GB, free: 10.16 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)