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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01081/0.01081, allocations: 101.1 kB / 15.73 MB, free: 6.016 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.002417/0.002417, allocations: 192.6 kB / 16.67 MB, free: 5.934 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.476/1.476, allocations: 222.9 MB / 240.3 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8571/0.8571, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 57.95 kB / 0.5856 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2069, allocations: 80.94 MB / 0.6646 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006614/0.2136, allocations: 4.123 MB / 0.6687 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.7484/0.9621, allocations: 150.5 MB / 0.8156 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/0.9635, allocations: 15.38 kB / 0.8156 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006829/0.9642, allocations: 172 kB / 0.8158 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001918/0.9662, allocations: 487.9 kB / 0.8163 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002171/0.9683, allocations: 0.7892 MB / 0.817 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001473/0.9698, allocations: 1.199 MB / 0.8182 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.9709, allocations: 0.6118 MB / 0.8188 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007815/0.9717, allocations: 437.1 kB / 0.8192 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005713/0.9722, allocations: 449.5 kB / 0.8196 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.9724, allocations: 101.8 kB / 0.8197 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.9735, allocations: 479.6 kB / 0.8202 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000248/0.9738, allocations: 265.8 kB / 0.8204 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004405/0.9742, allocations: 0.491 MB / 0.8209 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001909/0.9761, allocations: 1.5 MB / 0.8224 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.9761, allocations: 4 kB / 0.8224 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9761, allocations: 3.75 kB / 0.8224 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.377e-05/0.9762, allocations: 0 / 0.8224 GB, free: 5.516 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002276/0.9785, allocations: 1.364 MB / 0.8237 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.9785, allocations: 8.828 kB / 0.8237 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009732/0.9795, allocations: 183.8 kB / 0.8239 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.9807, allocations: 0.7286 MB / 0.8246 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.039e-05/0.9807, allocations: 67.09 kB / 0.8247 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.902e-05/0.9808, allocations: 74.12 kB / 0.8248 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.9824, allocations: 0.8703 MB / 0.8256 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.9824, allocations: 0 / 0.8256 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.868e-05/0.9825, allocations: 35.38 kB / 0.8256 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.9825, allocations: 20.38 kB / 0.8257 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.9842, allocations: 1.064 MB / 0.8267 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003595/0.9878, allocations: 2.361 MB / 0.829 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.9892, allocations: 0.7944 MB / 0.8298 GB, free: 300 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004946/0.9897, allocations: 286.2 kB / 0.8301 GB, free: 156 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-05/0.9898, allocations: 27.5 kB / 0.8301 GB, free: 144 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007991/0.9906, allocations: 426.9 kB / 0.8305 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 4.388e-06/0.9906, allocations: 0 / 0.8305 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.002909/0.9935, allocations: 1.089 MB / 0.8316 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.9937, allocations: 196.3 kB / 0.8317 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007735/0.9944, allocations: 0.5776 MB / 0.8323 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.134e-05/0.9945, allocations: 47.08 kB / 0.8324 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003114/0.9948, allocations: 379.8 kB / 0.8327 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/0.995, allocations: 254.6 kB / 0.833 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/0.9953, allocations: 157.2 kB / 0.8331 GB, free: 14 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.9955, allocations: 380.3 kB / 0.8335 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004522/0.9959, allocations: 236.2 kB / 0.8337 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005683/0.9965, allocations: 335.9 kB / 0.834 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.9976, allocations: 0.5674 MB / 0.8346 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.9976, allocations: 0 / 0.8346 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00174/0.9993, allocations: 0.7854 MB / 0.8353 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.9994, allocations: 5.906 kB / 0.8353 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.9994, allocations: 2.344 kB / 0.8353 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005905/1, allocations: 79.48 kB / 0.8354 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005773/1.001, allocations: 152.4 kB / 0.8356 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/1.003, allocations: 1.637 MB / 0.8372 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006642/1.003, allocations: 80.48 kB / 0.8372 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.025e-05/1.003, allocations: 31.05 kB / 0.8373 GB, free: 10.86 MB / 0.6075 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.0005474/1.004, allocations: 263.5 kB / 0.8375 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/1.004, allocations: 84.98 kB / 0.8376 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/1.007, allocations: 0.9917 MB / 0.8386 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/1.007, allocations: 7.75 kB / 0.8386 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/1.007, allocations: 2.406 kB / 0.8386 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/1.007, allocations: 3.984 kB / 0.8386 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003346/1.01, allocations: 1.867 MB / 0.8404 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.01, allocations: 3.938 kB / 0.8404 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005425/1.01, allocations: 149.1 kB / 0.8406 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004235/1.011, allocations: 63.89 kB / 0.8406 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.513e-05/1.011, allocations: 27.62 kB / 0.8406 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/1.013, allocations: 1.656 MB / 0.8423 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/1.013, allocations: 0 / 0.8423 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/1.015, allocations: 0.9268 MB / 0.8432 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003397/1.015, allocations: 268.8 kB / 0.8434 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/1.015, allocations: 17.66 kB / 0.8434 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000541/1.016, allocations: 48.83 kB / 0.8435 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/1.016, allocations: 66.81 kB / 0.8435 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.757e-05/1.016, allocations: 31.73 kB / 0.8436 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005737/1.017, allocations: 430.5 kB / 0.844 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.41e-07/1.017, allocations: 0 / 0.844 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009336/1.018, allocations: 302.5 kB / 0.8443 GB, free: 5.883 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 (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.001397/1.019, allocations: 0.6045 MB / 0.8449 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001671/1.021, allocations: 0.7609 MB / 0.8456 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/1.021, allocations: 3 kB / 0.8456 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008553/1.022, allocations: 494.5 kB / 0.8461 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/1.023, allocations: 277.5 kB / 0.8463 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003746/1.026, allocations: 1.675 MB / 0.848 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007261/1.027, allocations: 1.007 MB / 0.849 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000793/1.028, allocations: 258.1 kB / 0.8492 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/1.028, allocations: 103.4 kB / 0.8493 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of SimCode: time 7.81e-07/1.028, allocations: 0 / 0.8493 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of Templates: time 0.02593/1.054, allocations: 13.96 MB / 0.8629 GB, free: 3.57 MB / 0.6231 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)