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.00137/0.00137, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001354/0.001355, allocations: 197.3 kB / 16.25 MB, free: 6.625 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.385/1.385, allocations: 222.9 MB / 239.9 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9486/0.9486, allocations: 135.6 MB / 425.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 68.64 kB / 0.5054 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2027, allocations: 81.02 MB / 0.5845 GB, free: 4.297 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006509/0.2092, allocations: 4.15 MB / 0.5886 GB, free: 124 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5039/0.7131, allocations: 148.2 MB / 0.7333 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009437/0.7141, allocations: 19.88 kB / 0.7333 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006326/0.7148, allocations: 131.1 kB / 0.7335 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001717/0.7166, allocations: 423.1 kB / 0.7339 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.7186, allocations: 0.7061 MB / 0.7346 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001692/0.7203, allocations: 1.199 MB / 0.7357 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009441/0.7213, allocations: 0.5999 MB / 0.7363 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007658/0.7221, allocations: 437.6 kB / 0.7367 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005842/0.7227, allocations: 448.2 kB / 0.7372 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.7228, allocations: 104.8 kB / 0.7373 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000966/0.7238, allocations: 451.9 kB / 0.7377 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002842/0.7241, allocations: 271.6 kB / 0.7379 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004959/0.7246, allocations: 0.495 MB / 0.7384 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.7263, allocations: 1.449 MB / 0.7398 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.7263, allocations: 0 / 0.7398 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7263, allocations: 0 / 0.7398 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.382e-05/0.7263, allocations: 0 / 0.7398 GB, free: 10.26 MB / 0.5606 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.00248/0.7288, allocations: 1.328 MB / 0.7411 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.7289, allocations: 9.906 kB / 0.7412 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009168/0.7298, allocations: 183.5 kB / 0.7413 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.7309, allocations: 0.7027 MB / 0.742 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.665e-05/0.731, allocations: 59 kB / 0.7421 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.7311, allocations: 74.88 kB / 0.7421 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.7328, allocations: 0.8736 MB / 0.743 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.7328, allocations: 0 / 0.743 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.457e-05/0.7329, allocations: 31.84 kB / 0.743 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.733, allocations: 24.91 kB / 0.743 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.7347, allocations: 1.07 MB / 0.7441 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004551/0.7393, allocations: 2.383 MB / 0.7464 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.7407, allocations: 0.7978 MB / 0.7472 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004991/0.7412, allocations: 283.2 kB / 0.7475 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.071e-05/0.7413, allocations: 31 kB / 0.7475 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009927/0.7423, allocations: 423.5 kB / 0.7479 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.374e-06/0.7423, allocations: 4 kB / 0.7479 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.003387/0.7457, allocations: 1.084 MB / 0.749 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/0.7458, allocations: 196.5 kB / 0.7492 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000896/0.7467, allocations: 0.59 MB / 0.7497 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.427e-05/0.7468, allocations: 37.7 kB / 0.7498 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004774/0.7473, allocations: 380.3 kB / 0.7501 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002883/0.7476, allocations: 240.5 kB / 0.7504 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002757/0.7479, allocations: 154.3 kB / 0.7505 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002251/0.7481, allocations: 378.8 kB / 0.7509 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000489/0.7486, allocations: 241.9 kB / 0.7511 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006075/0.7492, allocations: 332 kB / 0.7514 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.7503, allocations: 0.5612 MB / 0.752 GB, free: 488 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.7503, allocations: 3.938 kB / 0.752 GB, free: 484 kB / 0.5606 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002007/0.7523, allocations: 0.7824 MB / 0.7527 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.7524, allocations: 11.98 kB / 0.7527 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.7524, allocations: 0 / 0.7527 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006334/0.753, allocations: 84.89 kB / 0.7528 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006355/0.7537, allocations: 147.8 kB / 0.753 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/0.7561, allocations: 1.634 MB / 0.7546 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008375/0.757, allocations: 76.69 kB / 0.7546 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.633e-05/0.7571, allocations: 35.97 kB / 0.7547 GB, free: 13.55 MB / 0.5762 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.0005929/0.7577, allocations: 251.2 kB / 0.7549 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/0.7578, allocations: 82.98 kB / 0.755 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002423/0.7603, allocations: 1.006 MB / 0.756 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.7603, allocations: 12 kB / 0.756 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.7603, allocations: 0 / 0.756 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.7603, allocations: 3.984 kB / 0.756 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003518/0.7639, allocations: 1.858 MB / 0.7578 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.7639, allocations: 3.938 kB / 0.7578 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005815/0.7645, allocations: 143.8 kB / 0.7579 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004538/0.7649, allocations: 76.78 kB / 0.758 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.015e-05/0.765, allocations: 23.98 kB / 0.758 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/0.7671, allocations: 1.654 MB / 0.7596 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.7671, allocations: 4.031 kB / 0.7597 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/0.7692, allocations: 0.9141 MB / 0.7605 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004405/0.7697, allocations: 263.7 kB / 0.7608 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.7698, allocations: 24.05 kB / 0.7608 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000571/0.7704, allocations: 54.83 kB / 0.7609 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.7705, allocations: 64.91 kB / 0.7609 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.476e-05/0.7706, allocations: 27.98 kB / 0.761 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000616/0.7712, allocations: 427 kB / 0.7614 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7712, allocations: 2.719 kB / 0.7614 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009926/0.7722, allocations: 299.2 kB / 0.7617 GB, free: 6.133 MB / 0.5762 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.001995/0.7743, allocations: 0.589 MB / 0.7622 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002464/0.7767, allocations: 0.9556 MB / 0.7632 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/0.7768, allocations: 4 kB / 0.7632 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009467/0.7777, allocations: 497.2 kB / 0.7636 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.7791, allocations: 287.8 kB / 0.7639 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004256/0.7834, allocations: 2.06 MB / 0.7659 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007224/0.7841, allocations: 1.007 MB / 0.7669 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009533/0.7851, allocations: 250.1 kB / 0.7672 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.7853, allocations: 103.4 kB / 0.7672 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of SimCode: time 1.343e-06/0.7854, allocations: 0 / 0.7672 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of Templates: time 0.02718/0.8125, allocations: 13.73 MB / 0.7807 GB, free: 3 MB / 0.5919 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)