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.00107/0.00107, allocations: 114.4 kB / 16.37 MB, free: 6.012 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.001103/0.001103, allocations: 192.6 kB / 17.31 MB, free: 5.613 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7961/0.7961, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 64.09 kB / 0.5068 GB, free: 7.648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3716, allocations: 80.91 MB / 0.5858 GB, free: 25.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.00477/0.3764, allocations: 4.142 MB / 0.5898 GB, free: 22.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1495/0.526, allocations: 150.5 MB / 0.7368 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.527, allocations: 19.88 kB / 0.7368 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006139/0.5277, allocations: 162.5 kB / 0.7369 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001753/0.5295, allocations: 483.7 kB / 0.7374 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.5314, allocations: 0.7979 MB / 0.7382 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00137/0.5328, allocations: 1.188 MB / 0.7393 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008114/0.5336, allocations: 0.608 MB / 0.7399 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000525/0.5341, allocations: 446.3 kB / 0.7403 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004489/0.5346, allocations: 454 kB / 0.7408 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.5347, allocations: 100 kB / 0.7409 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008072/0.5355, allocations: 467.6 kB / 0.7413 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002288/0.5358, allocations: 275.1 kB / 0.7416 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003627/0.5362, allocations: 0.4895 MB / 0.7421 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.5376, allocations: 1.487 MB / 0.7435 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5376, allocations: 4 kB / 0.7435 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5376, allocations: 0 / 0.7435 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.5376, allocations: 0 / 0.7435 GB, free: 8.449 MB / 0.5762 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.00197/0.5396, allocations: 1.334 MB / 0.7448 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.5396, allocations: 9.109 kB / 0.7448 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008303/0.5404, allocations: 179.5 kB / 0.745 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.5415, allocations: 0.7267 MB / 0.7457 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.569e-05/0.5416, allocations: 62 kB / 0.7458 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.103e-05/0.5417, allocations: 79.98 kB / 0.7458 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.5429, allocations: 0.8637 MB / 0.7467 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.543, allocations: 0 / 0.7467 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.462e-05/0.543, allocations: 39.98 kB / 0.7467 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.5431, allocations: 20 kB / 0.7467 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/0.5446, allocations: 1.061 MB / 0.7478 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003308/0.5479, allocations: 2.348 MB / 0.7501 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.5491, allocations: 0.7982 MB / 0.7509 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004519/0.5496, allocations: 284.2 kB / 0.7511 GB, free: 428 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.585e-05/0.5497, allocations: 36.67 kB / 0.7512 GB, free: 392 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2997/0.8494, allocations: 418.2 kB / 0.7516 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 5.26e-06/0.8494, allocations: 0 / 0.7516 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.003667/0.8531, allocations: 1.081 MB / 0.7526 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.752e-05/0.8532, allocations: 189.7 kB / 0.7528 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009413/0.8541, allocations: 0.5854 MB / 0.7534 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.374e-05/0.8542, allocations: 44.56 kB / 0.7534 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003153/0.8546, allocations: 379.9 kB / 0.7538 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.8547, allocations: 239.3 kB / 0.754 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002406/0.855, allocations: 156.2 kB / 0.7542 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.8551, allocations: 380.4 kB / 0.7545 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004573/0.8556, allocations: 236.9 kB / 0.7547 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006221/0.8562, allocations: 336.2 kB / 0.7551 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.8573, allocations: 0.5621 MB / 0.7556 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.8574, allocations: 0 / 0.7556 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002075/0.8594, allocations: 0.7808 MB / 0.7564 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.8595, allocations: 6.062 kB / 0.7564 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.8595, allocations: 2.562 kB / 0.7564 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000643/0.8601, allocations: 86.39 kB / 0.7565 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008313/0.861, allocations: 155.9 kB / 0.7566 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/0.8634, allocations: 1.63 MB / 0.7582 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007221/0.8641, allocations: 74.42 kB / 0.7583 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.8642, allocations: 39.45 kB / 0.7583 GB, free: 161.3 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.0004846/0.8647, allocations: 259.1 kB / 0.7586 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/0.865, allocations: 80 kB / 0.7586 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/0.8675, allocations: 0.9977 MB / 0.7596 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.055e-05/0.8675, allocations: 9.188 kB / 0.7596 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.8675, allocations: 3.938 kB / 0.7596 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.8675, allocations: 4.266 kB / 0.7596 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003694/0.8712, allocations: 1.866 MB / 0.7614 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.8713, allocations: 3.75 kB / 0.7615 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006104/0.8719, allocations: 145.5 kB / 0.7616 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004278/0.8723, allocations: 71.53 kB / 0.7617 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.997e-05/0.8724, allocations: 32.98 kB / 0.7617 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001482/0.8739, allocations: 1.656 MB / 0.7633 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.8739, allocations: 1.344 kB / 0.7633 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.8756, allocations: 0.9205 MB / 0.7642 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003295/0.8759, allocations: 252.3 kB / 0.7644 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.8761, allocations: 20.75 kB / 0.7645 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005222/0.8766, allocations: 54.47 kB / 0.7645 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.8767, allocations: 60.2 kB / 0.7646 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.236e-05/0.8768, allocations: 35.59 kB / 0.7646 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004874/0.8773, allocations: 423.4 kB / 0.765 GB, free: 157 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8773, allocations: 0 / 0.765 GB, free: 157 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008662/0.8782, allocations: 290 kB / 0.7653 GB, free: 156.9 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.001222/0.8794, allocations: 0.6136 MB / 0.7659 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001294/0.8807, allocations: 0.7602 MB / 0.7666 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8807, allocations: 0.5938 kB / 0.7666 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000722/0.8814, allocations: 497.3 kB / 0.7671 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009656/0.8824, allocations: 296.2 kB / 0.7674 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/0.8856, allocations: 1.651 MB / 0.769 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.886, allocations: 1.005 MB / 0.77 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006638/0.8866, allocations: 249.7 kB / 0.7702 GB, free: 153 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.8868, allocations: 99.89 kB / 0.7703 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/0.8868, allocations: 0 / 0.7703 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.01793/0.9048, allocations: 13.81 MB / 0.7838 GB, free: 139.2 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)