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.01121/0.01121, allocations: 101.3 kB / 15.73 MB, free: 6.008 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.002333/0.002333, allocations: 188.3 kB / 16.67 MB, free: 5.93 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.443/1.443, 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-master/package.mo): time 0.9112/0.9112, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 62.16 kB / 0.5856 GB, free: 21.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2096, allocations: 80.93 MB / 0.6646 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006202/0.2158, allocations: 4.138 MB / 0.6687 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.7076/0.9235, allocations: 150.5 MB / 0.8156 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008598/0.9244, allocations: 18.81 kB / 0.8156 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005826/0.925, allocations: 162.7 kB / 0.8158 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001532/0.9266, allocations: 492.4 kB / 0.8163 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.9285, allocations: 0.8007 MB / 0.817 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001077/0.9296, allocations: 1.193 MB / 0.8182 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007641/0.9303, allocations: 0.6181 MB / 0.8188 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004913/0.9308, allocations: 442.8 kB / 0.8192 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004454/0.9313, allocations: 449.3 kB / 0.8197 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.9314, allocations: 101.9 kB / 0.8198 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008595/0.9323, allocations: 476.7 kB / 0.8202 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002288/0.9325, allocations: 275.1 kB / 0.8205 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004142/0.933, allocations: 498.9 kB / 0.8209 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.9345, allocations: 1.484 MB / 0.8224 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.9345, allocations: 0 / 0.8224 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9345, allocations: 0 / 0.8224 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.9346, allocations: 3.312 kB / 0.8224 GB, free: 5.469 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.002084/0.9366, allocations: 1.333 MB / 0.8237 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.9367, allocations: 10.77 kB / 0.8237 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008843/0.9376, allocations: 180.8 kB / 0.8239 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.9386, allocations: 0.7286 MB / 0.8246 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.499e-05/0.9387, allocations: 58.59 kB / 0.8247 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.312e-05/0.9388, allocations: 74.19 kB / 0.8247 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.9402, allocations: 0.8675 MB / 0.8256 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.9402, allocations: 2.875 kB / 0.8256 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.596e-05/0.9403, allocations: 34.06 kB / 0.8256 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.9403, allocations: 20.34 kB / 0.8256 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/0.9419, allocations: 1.07 MB / 0.8267 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003752/0.9457, allocations: 2.355 MB / 0.829 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.947, allocations: 0.7942 MB / 0.8297 GB, free: 300 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004568/0.9474, allocations: 280.8 kB / 0.83 GB, free: 160 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.665e-05/0.9475, allocations: 37.27 kB / 0.83 GB, free: 140 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007364/0.9483, allocations: 424.9 kB / 0.8305 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 2.274e-06/0.9483, allocations: 0 / 0.8305 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.002857/0.9511, allocations: 1.082 MB / 0.8315 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.9513, allocations: 194.8 kB / 0.8317 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007207/0.952, allocations: 0.5851 MB / 0.8323 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.593e-05/0.9521, allocations: 38.95 kB / 0.8323 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003075/0.9524, allocations: 383.2 kB / 0.8327 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000207/0.9526, allocations: 238.8 kB / 0.8329 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002561/0.9529, allocations: 146.9 kB / 0.833 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002034/0.9531, allocations: 385.1 kB / 0.8334 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004587/0.9536, allocations: 239.9 kB / 0.8336 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005545/0.9541, allocations: 328.5 kB / 0.8339 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009908/0.9551, allocations: 0.5665 MB / 0.8345 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.9551, allocations: 0 / 0.8345 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00185/0.957, allocations: 0.7822 MB / 0.8353 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.957, allocations: 5.125 kB / 0.8353 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.957, allocations: 2.719 kB / 0.8353 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005761/0.9576, allocations: 82.77 kB / 0.8354 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005832/0.9582, allocations: 149.5 kB / 0.8355 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/0.9605, allocations: 1.633 MB / 0.8371 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008058/0.9613, allocations: 79.36 kB / 0.8372 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-05/0.9614, allocations: 40.06 kB / 0.8372 GB, free: 10.88 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.0006354/0.962, allocations: 250.8 kB / 0.8374 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/0.9622, allocations: 79 kB / 0.8375 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002378/0.9646, allocations: 1.005 MB / 0.8385 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.966e-06/0.9646, allocations: 10.06 kB / 0.8385 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.9646, allocations: 0 / 0.8385 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.9647, allocations: 3.984 kB / 0.8385 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003076/0.9677, allocations: 1.865 MB / 0.8403 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.9678, allocations: 7.938 kB / 0.8403 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005571/0.9683, allocations: 142.3 kB / 0.8405 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004355/0.9688, allocations: 70.62 kB / 0.8405 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.468e-05/0.9689, allocations: 31.27 kB / 0.8406 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/0.9708, allocations: 1.655 MB / 0.8422 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9708, allocations: 0 / 0.8422 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.9727, allocations: 0.9266 MB / 0.8431 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003788/0.9731, allocations: 261.3 kB / 0.8433 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.9732, allocations: 16.75 kB / 0.8434 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005471/0.9738, allocations: 53.41 kB / 0.8434 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.9739, allocations: 58.45 kB / 0.8435 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.829e-05/0.974, allocations: 32.47 kB / 0.8435 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005397/0.9746, allocations: 430.1 kB / 0.8439 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9746, allocations: 0 / 0.8439 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008869/0.9755, allocations: 290.8 kB / 0.8442 GB, free: 5.93 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.001329/0.9768, allocations: 0.5891 MB / 0.8448 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001534/0.9783, allocations: 0.7695 MB / 0.8455 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.9784, allocations: 0 / 0.8455 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008279/0.9792, allocations: 492.6 kB / 0.846 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.9804, allocations: 288.7 kB / 0.8463 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003581/0.984, allocations: 1.658 MB / 0.8479 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005687/0.9846, allocations: 0.9993 MB / 0.8489 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007291/0.9853, allocations: 258.1 kB / 0.8491 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/0.9855, allocations: 99.39 kB / 0.8492 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of SimCode: time 6.91e-07/0.9855, allocations: 0 / 0.8492 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of Templates: time 0.02546/1.011, allocations: 13.95 MB / 0.8628 GB, free: 3.625 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)