Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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-master/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-master/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.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 182.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-master/package.mo): time 0.7167/0.7167, allocations: 133.3 MB / 150.1 MB, free: 11.14 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.339/1.339, allocations: 222.9 MB / 404.7 MB, free: 5.984 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.001025/0.001025, allocations: 111 kB / 485.9 MB, free: 7.141 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001026, allocations: 47.91 kB / 0.5636 GB, free: 69.88 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1253, allocations: 80.44 MB / 0.6421 GB, free: 5.375 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005899/0.1312, allocations: 4.145 MB / 0.6462 GB, free: 1.207 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4189/0.5501, allocations: 148.2 MB / 0.7909 GB, free: 8.68 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006006/0.5508, allocations: 19.94 kB / 0.7909 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004672/0.5513, allocations: 133.8 kB / 0.791 GB, free: 8.531 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.5525, allocations: 393.8 kB / 0.7914 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.5541, allocations: 0.6959 MB / 0.7921 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001062/0.5552, allocations: 1.114 MB / 0.7932 GB, free: 6.379 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008126/0.556, allocations: 0.5927 MB / 0.7937 GB, free: 5.777 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004411/0.5565, allocations: 378.4 kB / 0.7941 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004327/0.5569, allocations: 425.9 kB / 0.7945 GB, free: 4.988 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.557, allocations: 52 kB / 0.7946 GB, free: 4.938 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007396/0.5578, allocations: 394.8 kB / 0.7949 GB, free: 4.555 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002092/0.558, allocations: 226.6 kB / 0.7952 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003764/0.5584, allocations: 453.3 kB / 0.7956 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.5597, allocations: 1.406 MB / 0.797 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5598, allocations: 0 / 0.797 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.51e-07/0.5598, allocations: 0 / 0.797 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.5598, allocations: 0 / 0.797 GB, free: 2.48 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002041/0.5618, allocations: 1.327 MB / 0.7983 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.5619, allocations: 11.97 kB / 0.7983 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008498/0.5627, allocations: 183.5 kB / 0.7984 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009726/0.5637, allocations: 0.6999 MB / 0.7991 GB, free: 172 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.978e-05/0.5638, allocations: 58 kB / 0.7992 GB, free: 112 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.802e-05/0.5639, allocations: 76 kB / 0.7993 GB, free: 36 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.5652, allocations: 0.8753 MB / 0.8001 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.5652, allocations: 0.5 kB / 0.8001 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.182e-05/0.5653, allocations: 32 kB / 0.8001 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.5653, allocations: 20 kB / 0.8002 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/0.567, allocations: 1.073 MB / 0.8012 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003454/0.5705, allocations: 2.382 MB / 0.8035 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.5718, allocations: 0.7982 MB / 0.8043 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004796/0.5723, allocations: 284.8 kB / 0.8046 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.489e-05/0.5723, allocations: 32.69 kB / 0.8046 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007527/0.5731, allocations: 423.9 kB / 0.805 GB, free: 9.98 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=73): time 2.505e-06/0.5731, allocations: 0 / 0.805 GB, free: 9.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=73): time 0.002872/0.576, allocations: 1.084 MB / 0.8061 GB, free: 8.871 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.608e-05/0.5761, allocations: 188.6 kB / 0.8063 GB, free: 8.645 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007144/0.5768, allocations: 0.59 MB / 0.8068 GB, free: 8.047 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.171e-05/0.5769, allocations: 37.7 kB / 0.8069 GB, free: 8.004 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003085/0.5772, allocations: 380.3 kB / 0.8072 GB, free: 7.625 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.5774, allocations: 240.5 kB / 0.8075 GB, free: 7.387 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/0.5776, allocations: 150.5 kB / 0.8076 GB, free: 7.23 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.5778, allocations: 374.8 kB / 0.808 GB, free: 6.855 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004778/0.5783, allocations: 237.9 kB / 0.8082 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005685/0.5789, allocations: 336 kB / 0.8085 GB, free: 6.277 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.5799, allocations: 0.5712 MB / 0.8091 GB, free: 5.691 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5799, allocations: 3.938 kB / 0.8091 GB, free: 5.688 MB / 0.5417 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001833/0.5818, allocations: 0.7863 MB / 0.8098 GB, free: 4.895 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.5818, allocations: 5.094 kB / 0.8098 GB, free: 4.891 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.5818, allocations: 0 / 0.8098 GB, free: 4.891 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006161/0.5824, allocations: 88.88 kB / 0.8099 GB, free: 4.801 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006189/0.5831, allocations: 147.8 kB / 0.8101 GB, free: 4.656 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002013/0.5851, allocations: 1.524 MB / 0.8116 GB, free: 2.992 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007075/0.5858, allocations: 80.27 kB / 0.8116 GB, free: 2.914 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.827e-05/0.5859, allocations: 32.84 kB / 0.8117 GB, free: 2.883 MB / 0.5417 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.000392/0.5863, allocations: 255.1 kB / 0.8119 GB, free: 2.625 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.5864, allocations: 75.06 kB / 0.812 GB, free: 2.551 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002308/0.5887, allocations: 1.002 MB / 0.813 GB, free: 1.539 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.5888, allocations: 12 kB / 0.813 GB, free: 1.527 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.5888, allocations: 0 / 0.813 GB, free: 1.527 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.5888, allocations: 7.984 kB / 0.813 GB, free: 1.52 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00311/0.5919, allocations: 1.869 MB / 0.8148 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.5919, allocations: 0 / 0.8148 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005589/0.5925, allocations: 151.5 kB / 0.8149 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005276/0.593, allocations: 76.78 kB / 0.815 GB, free: 15.37 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.842e-05/0.5931, allocations: 31.92 kB / 0.815 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002012/0.5951, allocations: 1.544 MB / 0.8166 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.5951, allocations: 0 / 0.8166 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003363/0.5985, allocations: 1.928 MB / 0.8184 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004258/0.599, allocations: 251.8 kB / 0.8187 GB, free: 11.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.5991, allocations: 19.94 kB / 0.8187 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006684/0.5998, allocations: 51.94 kB / 0.8187 GB, free: 11.33 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.5999, allocations: 64.91 kB / 0.8188 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.436e-05/0.6, allocations: 31.98 kB / 0.8188 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005911/0.6006, allocations: 427.1 kB / 0.8192 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.573e-06/0.6006, allocations: 0 / 0.8192 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001074/0.6017, allocations: 303.2 kB / 0.8195 GB, free: 10.53 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 (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.001351/0.6031, allocations: 0.5944 MB / 0.8201 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00152/0.6046, allocations: 0.7616 MB / 0.8209 GB, free: 9.332 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6046, allocations: 0 / 0.8209 GB, free: 9.332 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008352/0.6055, allocations: 0.4886 MB / 0.8213 GB, free: 8.836 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.6066, allocations: 249 kB / 0.8216 GB, free: 8.594 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004098/0.6107, allocations: 2.505 MB / 0.824 GB, free: 6.047 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000597/0.6114, allocations: 1.019 MB / 0.825 GB, free: 4.996 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007794/0.6121, allocations: 262 kB / 0.8253 GB, free: 4.738 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/0.6124, allocations: 103.4 kB / 0.8254 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of SimCode: time 9.22e-07/0.6124, allocations: 0 / 0.8254 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of Templates: time 0.02105/0.6334, allocations: 13.62 MB / 0.8387 GB, free: 7.145 MB / 0.573 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)