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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0049/0.0049, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.001311/0.001311, allocations: 195.8 kB / 16.68 MB, free: 5.969 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.837/0.837, allocations: 132.2 MB / 422.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 63.89 kB / 0.5809 GB, free: 8.051 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3452, allocations: 80.19 MB / 0.6592 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004686/0.3499, allocations: 4.146 MB / 0.6632 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1717/0.5216, allocations: 150.5 MB / 0.8102 GB, free: 11 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007597/0.5224, allocations: 19.88 kB / 0.8102 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005394/0.523, allocations: 170.5 kB / 0.8104 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.5245, allocations: 477.4 kB / 0.8108 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001917/0.5265, allocations: 0.7916 MB / 0.8116 GB, free: 9.559 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001331/0.5278, allocations: 1.188 MB / 0.8127 GB, free: 8.367 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009204/0.5287, allocations: 0.6304 MB / 0.8134 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005773/0.5293, allocations: 426.5 kB / 0.8138 GB, free: 7.305 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005747/0.5299, allocations: 450 kB / 0.8142 GB, free: 6.863 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001574/0.5301, allocations: 104 kB / 0.8143 GB, free: 6.762 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009383/0.531, allocations: 471.6 kB / 0.8147 GB, free: 6.301 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002869/0.5313, allocations: 279.1 kB / 0.815 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004975/0.5318, allocations: 0.4973 MB / 0.8155 GB, free: 5.527 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.5337, allocations: 1.489 MB / 0.8169 GB, free: 4.035 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5337, allocations: 3.938 kB / 0.817 GB, free: 4.031 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5337, allocations: 0 / 0.817 GB, free: 4.031 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.5337, allocations: 4 kB / 0.817 GB, free: 4.027 MB / 0.6387 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.002304/0.536, allocations: 1.36 MB / 0.8183 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.5361, allocations: 8.031 kB / 0.8183 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001588/0.5362, allocations: 131.2 kB / 0.8184 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009311/0.5372, allocations: 188.1 kB / 0.8186 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.5383, allocations: 0.731 MB / 0.8193 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.623e-05/0.5384, allocations: 65.98 kB / 0.8194 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.5385, allocations: 76 kB / 0.8194 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.54, allocations: 0.8716 MB / 0.8203 GB, free: 472 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.5401, allocations: 0 / 0.8203 GB, free: 472 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.921e-05/0.5402, allocations: 36 kB / 0.8203 GB, free: 436 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.5402, allocations: 27.88 kB / 0.8204 GB, free: 408 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.542, allocations: 1.065 MB / 0.8214 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003778/0.5458, allocations: 2.352 MB / 0.8237 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.5473, allocations: 0.7985 MB / 0.8245 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005367/0.5478, allocations: 282.7 kB / 0.8247 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-05/0.5479, allocations: 32.67 kB / 0.8248 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000801/0.5487, allocations: 431.7 kB / 0.8252 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=73): time 2.414e-06/0.5487, allocations: 0 / 0.8252 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73): time 0.003181/0.5519, allocations: 1.085 MB / 0.8262 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.552, allocations: 192.5 kB / 0.8264 GB, free: 10 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007585/0.5528, allocations: 0.5784 MB / 0.827 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.191e-05/0.5529, allocations: 41.7 kB / 0.827 GB, free: 9.375 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003181/0.5532, allocations: 388.8 kB / 0.8274 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.5534, allocations: 257.8 kB / 0.8277 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/0.5537, allocations: 134.2 kB / 0.8278 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.5539, allocations: 386.6 kB / 0.8281 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004835/0.5544, allocations: 217.2 kB / 0.8284 GB, free: 7.996 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005921/0.555, allocations: 323.6 kB / 0.8287 GB, free: 7.648 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.556, allocations: 0.5363 MB / 0.8292 GB, free: 7.102 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.5561, allocations: 0 / 0.8292 GB, free: 7.102 MB / 0.6544 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001852/0.5579, allocations: 0.7279 MB / 0.8299 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.5579, allocations: 4.125 kB / 0.8299 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.558, allocations: 8 kB / 0.8299 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006236/0.5586, allocations: 80.72 kB / 0.83 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000624/0.5592, allocations: 139.8 kB / 0.8301 GB, free: 6.133 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/0.5615, allocations: 1.63 MB / 0.8317 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005751/0.5621, allocations: 75.62 kB / 0.8318 GB, free: 4.285 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-05/0.5621, allocations: 32.05 kB / 0.8318 GB, free: 4.254 MB / 0.6544 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 (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 (77): * Single equations (assignments): 76 * 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.0004131/0.5626, allocations: 261.2 kB / 0.8321 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.5627, allocations: 83.42 kB / 0.8321 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002425/0.5652, allocations: 0.9941 MB / 0.8331 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.5652, allocations: 12 kB / 0.8331 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.5652, allocations: 0 / 0.8331 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.5652, allocations: 3.984 kB / 0.8331 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003383/0.5686, allocations: 1.87 MB / 0.835 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.5686, allocations: 0 / 0.835 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006138/0.5692, allocations: 151.8 kB / 0.8351 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004797/0.5697, allocations: 72.78 kB / 0.8352 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.457e-05/0.5698, allocations: 19.98 kB / 0.8352 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002133/0.5719, allocations: 1.67 MB / 0.8368 GB, free: 14.89 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.572, allocations: 3.984 kB / 0.8368 GB, free: 14.89 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.574, allocations: 0.9165 MB / 0.8377 GB, free: 13.95 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003674/0.5744, allocations: 264.2 kB / 0.838 GB, free: 13.67 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.5745, allocations: 16 kB / 0.838 GB, free: 13.66 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005926/0.5751, allocations: 51.94 kB / 0.838 GB, free: 13.61 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.5752, allocations: 68.91 kB / 0.8381 GB, free: 13.54 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.528e-05/0.5753, allocations: 27.98 kB / 0.8381 GB, free: 13.51 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005931/0.5759, allocations: 427.1 kB / 0.8385 GB, free: 13.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5759, allocations: 0 / 0.8385 GB, free: 13.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008427/0.5768, allocations: 295.1 kB / 0.8388 GB, free: 12.81 MB / 0.67 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.004141/0.5809, allocations: 1.971 MB / 0.8407 GB, free: 11.04 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001664/0.5826, allocations: 0.7199 MB / 0.8414 GB, free: 10.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.5826, allocations: 8.25 kB / 0.8415 GB, free: 10.29 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009477/0.5836, allocations: 0.4923 MB / 0.8419 GB, free: 9.781 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.5849, allocations: 286.7 kB / 0.8422 GB, free: 9.531 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.5959, allocations: 5.908 MB / 0.848 GB, free: 3.52 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006762/0.5966, allocations: 1.004 MB / 0.849 GB, free: 2.488 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008005/0.5974, allocations: 250.3 kB / 0.8492 GB, free: 2.238 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005421/0.5979, allocations: 351.3 kB / 0.8495 GB, free: 1.895 MB / 0.67 GB Notification: Performance of SimCode: time 6.31e-07/0.598, allocations: 0 / 0.8495 GB, free: 1.895 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3203/0.9182, allocations: 19.94 MB / 0.869 GB, free: 193.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.56, allocations: 8.734 kB / 0.869 GB, free: 193.9 MB / 0.6856 GB (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)