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-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_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.001083/0.001083, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001047/0.001047, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.052/1.052, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003305, allocations: 8 kB / 0.5068 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1923, allocations: 82.32 MB / 0.5872 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.00445/0.1968, allocations: 3.472 MB / 0.5906 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.566/0.7629, allocations: 127.4 MB / 0.7151 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008616/0.7638, allocations: 12.94 kB / 0.7151 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004918/0.7643, allocations: 66.86 kB / 0.7151 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001991/0.7663, allocations: 464.1 kB / 0.7156 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00215/0.7684, allocations: 0.612 MB / 0.7162 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001571/0.77, allocations: 0.7444 MB / 0.7169 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008012/0.7708, allocations: 459.1 kB / 0.7173 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000598/0.7714, allocations: 312.6 kB / 0.7176 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004315/0.7719, allocations: 290.5 kB / 0.7179 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.847e-05/0.772, allocations: 20.72 kB / 0.7179 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000989/0.773, allocations: 304.9 kB / 0.7182 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002143/0.7732, allocations: 166 kB / 0.7184 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.7734, allocations: 182 kB / 0.7186 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.7749, allocations: 1.069 MB / 0.7196 GB, free: 13.13 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.7749, allocations: 0 / 0.7196 GB, free: 13.13 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7749, allocations: 0 / 0.7196 GB, free: 13.13 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.495e-05/0.7749, allocations: 1.094 kB / 0.7196 GB, free: 13.13 MB / 0.545 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.002107/0.777, allocations: 1.148 MB / 0.7207 GB, free: 12.31 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.7771, allocations: 8.406 kB / 0.7207 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008741/0.7779, allocations: 189 kB / 0.7209 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.7791, allocations: 0.677 MB / 0.7216 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.345e-05/0.7792, allocations: 62.42 kB / 0.7216 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.7793, allocations: 81.91 kB / 0.7217 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.7809, allocations: 0.8562 MB / 0.7225 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.7809, allocations: 0 / 0.7225 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.913e-05/0.781, allocations: 33.22 kB / 0.7226 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.781, allocations: 22.81 kB / 0.7226 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001734/0.7827, allocations: 1.068 MB / 0.7236 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004052/0.7868, allocations: 2.416 MB / 0.726 GB, free: 9.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.7882, allocations: 0.8065 MB / 0.7268 GB, free: 9.359 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.265e-05/0.7883, allocations: 33.03 kB / 0.7268 GB, free: 9.348 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008372/0.7891, allocations: 427.7 kB / 0.7272 GB, free: 9.168 MB / 0.545 GB Notification: Performance of pre-optimization done (n=73): time 2.475e-06/0.7891, allocations: 1.438 kB / 0.7272 GB, free: 9.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=73): time 0.002807/0.7919, allocations: 1.088 MB / 0.7283 GB, free: 8.711 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.7921, allocations: 189.6 kB / 0.7285 GB, free: 8.492 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008056/0.7929, allocations: 0.5802 MB / 0.729 GB, free: 8.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.506e-05/0.793, allocations: 42.86 kB / 0.7291 GB, free: 8.188 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003281/0.7933, allocations: 376.3 kB / 0.7294 GB, free: 7.891 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/0.7935, allocations: 238 kB / 0.7297 GB, free: 7.703 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.7935, allocations: 16.22 kB / 0.7297 GB, free: 7.691 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.7937, allocations: 376.9 kB / 0.73 GB, free: 7.352 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004132/0.7941, allocations: 215.8 kB / 0.7302 GB, free: 7.281 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00051/0.7947, allocations: 328.6 kB / 0.7306 GB, free: 7.102 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004511/0.7951, allocations: 262.6 kB / 0.7308 GB, free: 6.996 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.7951, allocations: 3.438 kB / 0.7308 GB, free: 6.996 MB / 0.545 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001546/0.7967, allocations: 0.7332 MB / 0.7315 GB, free: 6.699 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.7967, allocations: 5 kB / 0.7315 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.7967, allocations: 8.453 kB / 0.7315 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005598/0.7973, allocations: 72.88 kB / 0.7316 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005752/0.7979, allocations: 150.9 kB / 0.7318 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/0.8, allocations: 1.532 MB / 0.7332 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006445/0.8006, allocations: 80.83 kB / 0.7333 GB, free: 5.191 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-05/0.8007, allocations: 30.83 kB / 0.7334 GB, free: 5.184 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004823/0.8012, allocations: 250.5 kB / 0.7336 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.8013, allocations: 77.83 kB / 0.7337 GB, free: 4.953 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002218/0.8035, allocations: 1.011 MB / 0.7347 GB, free: 4.453 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.8036, allocations: 11.98 kB / 0.7347 GB, free: 4.441 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.8036, allocations: 4 kB / 0.7347 GB, free: 4.438 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.8036, allocations: 4.453 kB / 0.7347 GB, free: 4.438 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003137/0.8067, allocations: 1.879 MB / 0.7365 GB, free: 2.844 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.8068, allocations: 3.953 kB / 0.7365 GB, free: 2.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005588/0.8073, allocations: 147.8 kB / 0.7367 GB, free: 2.715 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000486/0.8078, allocations: 88.28 kB / 0.7367 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.211e-05/0.8079, allocations: 24.03 kB / 0.7368 GB, free: 2.629 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001783/0.8097, allocations: 1.566 MB / 0.7383 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.8097, allocations: 0 / 0.7383 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.8114, allocations: 0.9236 MB / 0.7392 GB, free: 104 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003965/0.8118, allocations: 267.8 kB / 0.7394 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.8119, allocations: 16 kB / 0.7395 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005759/0.8125, allocations: 71.94 kB / 0.7395 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.8126, allocations: 56.91 kB / 0.7396 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.14e-05/0.8127, allocations: 31.98 kB / 0.7396 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005415/0.8132, allocations: 427 kB / 0.74 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8133, allocations: 0 / 0.74 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009903/0.8143, allocations: 287.3 kB / 0.7403 GB, free: 14.95 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001295/0.8156, allocations: 0.5913 MB / 0.7409 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001462/0.817, allocations: 0.7349 MB / 0.7416 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.817, allocations: 0 / 0.7416 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007968/0.8178, allocations: 0.489 MB / 0.7421 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.8189, allocations: 240.2 kB / 0.7423 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003755/0.8227, allocations: 2.042 MB / 0.7443 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000582/0.8233, allocations: 1.015 MB / 0.7453 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008206/0.8241, allocations: 258.1 kB / 0.7455 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002238/0.8243, allocations: 103.4 kB / 0.7456 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of SimCode: time 6.42e-07/0.8243, allocations: 0 / 0.7456 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of Templates: time 0.02121/0.8455, allocations: 12.79 MB / 0.7581 GB, free: 13 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: