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.0009647/0.0009647, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0008884/0.0008885, allocations: 168.7 kB / 15.95 MB, free: 204 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.488/1.488, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9959/0.9959, allocations: 135.3 MB / 426.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.0003782, allocations: 9.688 kB / 0.507 GB, free: 5.102 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.221, allocations: 82.31 MB / 0.5874 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004925/0.2259, allocations: 3.545 MB / 0.5908 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6099/0.8359, allocations: 136.7 MB / 0.7243 GB, free: 7.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009327/0.8369, allocations: 14.28 kB / 0.7243 GB, free: 7.746 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006388/0.8376, allocations: 138.2 kB / 0.7244 GB, free: 7.664 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.8394, allocations: 384.3 kB / 0.7248 GB, free: 7.453 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002391/0.8418, allocations: 0.6059 MB / 0.7254 GB, free: 7.156 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001762/0.8436, allocations: 1.028 MB / 0.7264 GB, free: 6.645 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008884/0.8445, allocations: 464 kB / 0.7269 GB, free: 6.465 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007561/0.8453, allocations: 298.8 kB / 0.7271 GB, free: 6.344 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005143/0.8458, allocations: 317.9 kB / 0.7274 GB, free: 6.199 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.752e-05/0.8459, allocations: 21.19 kB / 0.7275 GB, free: 6.199 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.847, allocations: 337.6 kB / 0.7278 GB, free: 6.105 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002456/0.8472, allocations: 161.3 kB / 0.7279 GB, free: 6.031 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002215/0.8475, allocations: 182.2 kB / 0.7281 GB, free: 5.902 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001635/0.8491, allocations: 1.064 MB / 0.7292 GB, free: 5.621 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.8491, allocations: 1.312 kB / 0.7292 GB, free: 5.621 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.522e-06/0.8491, allocations: 0 / 0.7292 GB, free: 5.621 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.544e-05/0.8491, allocations: 7.938 kB / 0.7292 GB, free: 5.613 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.002296/0.8515, allocations: 1.132 MB / 0.7303 GB, free: 4.812 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.8515, allocations: 8.812 kB / 0.7303 GB, free: 4.812 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008823/0.8524, allocations: 189.5 kB / 0.7305 GB, free: 4.754 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.8535, allocations: 0.6793 MB / 0.7311 GB, free: 4.309 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.759e-05/0.8536, allocations: 60.12 kB / 0.7312 GB, free: 4.281 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.8537, allocations: 80.48 kB / 0.7313 GB, free: 4.254 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/0.8554, allocations: 0.8696 MB / 0.7321 GB, free: 3.848 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.8554, allocations: 7.938 kB / 0.7321 GB, free: 3.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.81e-05/0.8555, allocations: 32.41 kB / 0.7321 GB, free: 3.816 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.8555, allocations: 21.03 kB / 0.7322 GB, free: 3.816 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.8573, allocations: 1.072 MB / 0.7332 GB, free: 3.57 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003937/0.8612, allocations: 2.407 MB / 0.7356 GB, free: 2.227 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.8626, allocations: 0.7934 MB / 0.7363 GB, free: 1.805 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004853/0.8631, allocations: 289.7 kB / 0.7366 GB, free: 1.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.439e-05/0.8632, allocations: 30.53 kB / 0.7366 GB, free: 1.645 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008085/0.864, allocations: 437.4 kB / 0.7371 GB, free: 1.363 MB / 0.545 GB Notification: Performance of pre-optimization done (n=73): time 2.775e-06/0.864, allocations: 3.344 kB / 0.7371 GB, free: 1.363 MB / 0.545 GB Notification: Performance of matching and sorting (n=73): time 0.002707/0.8667, allocations: 1.088 MB / 0.7381 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.8668, allocations: 190.4 kB / 0.7383 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007754/0.8676, allocations: 0.5823 MB / 0.7389 GB, free: 200 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.112e-05/0.8677, allocations: 48.36 kB / 0.7389 GB, free: 152 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.8681, allocations: 371.9 kB / 0.7393 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000232/0.8683, allocations: 238.2 kB / 0.7395 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.8684, allocations: 15.34 kB / 0.7395 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001997/0.8686, allocations: 377.8 kB / 0.7399 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004699/0.869, allocations: 238.7 kB / 0.7401 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005341/0.8696, allocations: 334.9 kB / 0.7404 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005255/0.8701, allocations: 286 kB / 0.7407 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.8701, allocations: 0 / 0.7407 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00165/0.8718, allocations: 0.793 MB / 0.7415 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.8718, allocations: 5.406 kB / 0.7415 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.8718, allocations: 0 / 0.7415 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005636/0.8724, allocations: 87.14 kB / 0.7416 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006296/0.873, allocations: 152 kB / 0.7417 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/0.8753, allocations: 1.521 MB / 0.7432 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007882/0.8761, allocations: 84.77 kB / 0.7433 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.8762, allocations: 36.52 kB / 0.7433 GB, free: 12.7 MB / 0.5606 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (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.0006646/0.8769, allocations: 257.7 kB / 0.7435 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/0.8771, allocations: 79 kB / 0.7436 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002463/0.8796, allocations: 1.017 MB / 0.7446 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.8796, allocations: 8 kB / 0.7446 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.8796, allocations: 0 / 0.7446 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.8796, allocations: 3.984 kB / 0.7446 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003761/0.8834, allocations: 1.869 MB / 0.7465 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/0.8834, allocations: 6.312 kB / 0.7465 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005735/0.884, allocations: 143.8 kB / 0.7466 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004554/0.8845, allocations: 84.77 kB / 0.7467 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.118e-05/0.8846, allocations: 23.98 kB / 0.7467 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001965/0.8866, allocations: 1.54 MB / 0.7482 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.8866, allocations: 0 / 0.7482 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.8886, allocations: 0.9219 MB / 0.7491 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005909/0.8892, allocations: 280.6 kB / 0.7494 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/0.8894, allocations: 16 kB / 0.7494 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006684/0.8901, allocations: 67.94 kB / 0.7495 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.8902, allocations: 56.92 kB / 0.7495 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.268e-05/0.8903, allocations: 35.97 kB / 0.7495 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008529/0.8912, allocations: 427 kB / 0.7499 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8912, allocations: 0 / 0.7499 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001448/0.8927, allocations: 291.2 kB / 0.7502 GB, free: 5.355 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.001959/0.8946, allocations: 0.5936 MB / 0.7508 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001849/0.8965, allocations: 0.7682 MB / 0.7516 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.8965, allocations: 0 / 0.7516 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009614/0.8975, allocations: 0.4891 MB / 0.752 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.899, allocations: 253.8 kB / 0.7523 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00471/0.9037, allocations: 2.054 MB / 0.7543 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007968/0.9045, allocations: 1.004 MB / 0.7553 GB, free: 356 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001114/0.9057, allocations: 250.1 kB / 0.7555 GB, free: 104 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/0.906, allocations: 103.4 kB / 0.7556 GB, free: 4 kB / 0.5606 GB Notification: Performance of SimCode: time 1.302e-06/0.906, allocations: 0 / 0.7556 GB, free: 4 kB / 0.5606 GB Notification: Performance of Templates: time 0.02908/0.9351, allocations: 12.79 MB / 0.7681 GB, free: 3.371 MB / 0.5762 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)