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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.001124/0.001124, allocations: 104 kB / 16.35 MB, free: 5.824 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.001107/0.001107, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.321/1.321, 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/package.mo): time 0.8302/0.8302, allocations: 132.2 MB / 423.3 MB, free: 6.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.89 kB / 0.5032 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.397, allocations: 80.18 MB / 0.5815 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005346/0.4024, allocations: 4.156 MB / 0.5855 GB, free: 24.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1629/0.5653, allocations: 150.5 MB / 0.7325 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/0.5665, allocations: 19.88 kB / 0.7325 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006041/0.5671, allocations: 162.5 kB / 0.7326 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001867/0.569, allocations: 488.6 kB / 0.7331 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002311/0.5713, allocations: 0.7957 MB / 0.7339 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001461/0.5728, allocations: 1.188 MB / 0.735 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009125/0.5737, allocations: 0.6196 MB / 0.7356 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006054/0.5743, allocations: 438.5 kB / 0.7361 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005253/0.5749, allocations: 449.9 kB / 0.7365 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.575, allocations: 104 kB / 0.7366 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.5761, allocations: 475.6 kB / 0.737 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002724/0.5764, allocations: 267.2 kB / 0.7373 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004363/0.5768, allocations: 0.4934 MB / 0.7378 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.5786, allocations: 1.484 MB / 0.7392 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5786, allocations: 0 / 0.7392 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5786, allocations: 0 / 0.7392 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.5786, allocations: 7.938 kB / 0.7392 GB, free: 12.23 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.002207/0.5809, allocations: 1.331 MB / 0.7405 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.5809, allocations: 8.031 kB / 0.7405 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009184/0.5818, allocations: 179.5 kB / 0.7407 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.5831, allocations: 0.7228 MB / 0.7414 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.19e-05/0.5831, allocations: 65.98 kB / 0.7415 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.5832, allocations: 80 kB / 0.7416 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.5847, allocations: 0.8676 MB / 0.7424 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.5847, allocations: 4 kB / 0.7424 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.868e-05/0.5848, allocations: 32 kB / 0.7424 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.5848, allocations: 20 kB / 0.7425 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/0.5865, allocations: 1.061 MB / 0.7435 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004289/0.5908, allocations: 2.351 MB / 0.7458 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.5922, allocations: 0.8011 MB / 0.7466 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004968/0.5927, allocations: 278.7 kB / 0.7468 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.186e-05/0.5928, allocations: 36.67 kB / 0.7469 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007721/0.5936, allocations: 439.1 kB / 0.7473 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 2.074e-06/0.5936, allocations: 0 / 0.7473 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.002956/0.5966, allocations: 1.069 MB / 0.7483 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.5967, allocations: 188.6 kB / 0.7485 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008053/0.5975, allocations: 0.5861 MB / 0.7491 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.976e-05/0.5976, allocations: 41.7 kB / 0.7491 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003071/0.5979, allocations: 388.1 kB / 0.7495 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/0.5981, allocations: 240.5 kB / 0.7497 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/0.5983, allocations: 150.5 kB / 0.7499 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.5985, allocations: 378.8 kB / 0.7502 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004493/0.599, allocations: 237.9 kB / 0.7505 GB, free: 380 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005508/0.5995, allocations: 336 kB / 0.7508 GB, free: 24 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3445/0.9441, allocations: 0.5588 MB / 0.7513 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.9441, allocations: 1.094 kB / 0.7513 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001936/0.9461, allocations: 0.7808 MB / 0.7521 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.9461, allocations: 5.688 kB / 0.7521 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.567e-06/0.9461, allocations: 5.281 kB / 0.7521 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005974/0.9467, allocations: 81.27 kB / 0.7522 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006294/0.9473, allocations: 150.1 kB / 0.7523 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/0.9492, allocations: 1.641 MB / 0.7539 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006372/0.9499, allocations: 76.38 kB / 0.754 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.267e-05/0.9499, allocations: 39.45 kB / 0.754 GB, free: 165.5 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.0004033/0.9504, allocations: 252.3 kB / 0.7543 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.9505, allocations: 76.86 kB / 0.7544 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/0.9528, allocations: 0.9983 MB / 0.7553 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.9528, allocations: 8.719 kB / 0.7553 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.9528, allocations: 5.375 kB / 0.7553 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.9528, allocations: 5.094 kB / 0.7553 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/0.956, allocations: 1.86 MB / 0.7572 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.956, allocations: 0.5938 kB / 0.7572 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000572/0.9566, allocations: 147.2 kB / 0.7573 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000442/0.957, allocations: 71.73 kB / 0.7574 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.224e-05/0.9571, allocations: 23.73 kB / 0.7574 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001573/0.9587, allocations: 1.665 MB / 0.759 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.9587, allocations: 0.7188 kB / 0.759 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.9606, allocations: 0.9205 MB / 0.7599 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003222/0.9609, allocations: 254.1 kB / 0.7602 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.96e-05/0.961, allocations: 21 kB / 0.7602 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005287/0.9616, allocations: 52.05 kB / 0.7602 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.9617, allocations: 62.8 kB / 0.7603 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-05/0.9618, allocations: 32.25 kB / 0.7603 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004827/0.9623, allocations: 429.6 kB / 0.7607 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9623, allocations: 0 / 0.7607 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000812/0.9631, allocations: 294.6 kB / 0.761 GB, free: 161.6 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.00131/0.9644, allocations: 0.5986 MB / 0.7616 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001442/0.9659, allocations: 0.7688 MB / 0.7624 GB, free: 161 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.9659, allocations: 0 / 0.7624 GB, free: 161 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007511/0.9666, allocations: 498.7 kB / 0.7628 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.9677, allocations: 294.5 kB / 0.7631 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00319/0.9709, allocations: 1.655 MB / 0.7647 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/0.9714, allocations: 1.01 MB / 0.7657 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007286/0.9721, allocations: 253.1 kB / 0.766 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.9723, allocations: 98.22 kB / 0.766 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.9723, allocations: 0 / 0.766 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.01755/0.9899, allocations: 13.79 MB / 0.7795 GB, free: 146 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)