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.005244/0.005244, allocations: 104.4 kB / 15.74 MB, free: 6.027 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.001262/0.001262, allocations: 194.7 kB / 16.67 MB, free: 5.961 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.253/1.253, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.697/0.697, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 64.11 kB / 0.5809 GB, free: 1.121 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1418, allocations: 80.2 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005632/0.1475, allocations: 4.147 MB / 0.6632 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1415/0.289, allocations: 150.5 MB / 0.8102 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006758/0.2897, allocations: 15.94 kB / 0.8102 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005112/0.2903, allocations: 174.5 kB / 0.8104 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001358/0.2916, allocations: 484.6 kB / 0.8108 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.2934, allocations: 0.8001 MB / 0.8116 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001071/0.2944, allocations: 1.195 MB / 0.8128 GB, free: 132 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.322/0.6165, allocations: 0.6039 MB / 0.8134 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007885/0.6173, allocations: 440.9 kB / 0.8138 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006088/0.6179, allocations: 450.4 kB / 0.8142 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.6181, allocations: 103.7 kB / 0.8143 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009259/0.619, allocations: 472.5 kB / 0.8148 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002375/0.6193, allocations: 272.8 kB / 0.815 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000485/0.6198, allocations: 0.4959 MB / 0.8155 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001908/0.6217, allocations: 1.493 MB / 0.817 GB, free: 3.77 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.6217, allocations: 0.7031 kB / 0.817 GB, free: 3.77 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6217, allocations: 5.125 kB / 0.817 GB, free: 3.77 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.379e-05/0.6217, allocations: 1.203 kB / 0.817 GB, free: 3.77 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.002163/0.6239, allocations: 1.36 MB / 0.8183 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.6239, allocations: 10.75 kB / 0.8183 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001602/0.6241, allocations: 130.4 kB / 0.8184 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009098/0.625, allocations: 189 kB / 0.8186 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.6261, allocations: 0.7272 MB / 0.8193 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.626e-05/0.6262, allocations: 62.81 kB / 0.8194 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.6264, allocations: 83.39 kB / 0.8195 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.628, allocations: 0.863 MB / 0.8203 GB, free: 2.449 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.6281, allocations: 0 / 0.8203 GB, free: 2.449 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-05/0.6281, allocations: 41.72 kB / 0.8203 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/0.6282, allocations: 18.94 kB / 0.8204 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.63, allocations: 1.068 MB / 0.8214 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003908/0.6339, allocations: 2.358 MB / 0.8237 GB, free: 1.688 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.6353, allocations: 0.7998 MB / 0.8245 GB, free: 1.562 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004533/0.6358, allocations: 279.5 kB / 0.8248 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.034e-05/0.6358, allocations: 28.64 kB / 0.8248 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007512/0.6366, allocations: 426.3 kB / 0.8252 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 2.314e-06/0.6366, allocations: 3 kB / 0.8252 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73): time 0.002889/0.6395, allocations: 1.09 MB / 0.8263 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.6396, allocations: 192.1 kB / 0.8264 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006601/0.6402, allocations: 0.5869 MB / 0.827 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.859e-05/0.6403, allocations: 37.83 kB / 0.827 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.6405, allocations: 386.1 kB / 0.8274 GB, free: 0.7266 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.6407, allocations: 254.9 kB / 0.8277 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/0.6409, allocations: 134 kB / 0.8278 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.641, allocations: 380.8 kB / 0.8281 GB, free: 16.23 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003828/0.6414, allocations: 211 kB / 0.8284 GB, free: 16.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004581/0.6419, allocations: 328.2 kB / 0.8287 GB, free: 16.14 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000849/0.6427, allocations: 0.5385 MB / 0.8292 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6428, allocations: 0.9062 kB / 0.8292 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001558/0.6443, allocations: 0.7291 MB / 0.8299 GB, free: 16 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.6443, allocations: 4.875 kB / 0.8299 GB, free: 16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.6444, allocations: 5.594 kB / 0.8299 GB, free: 16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005625/0.6449, allocations: 86.61 kB / 0.83 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005594/0.6455, allocations: 141.8 kB / 0.8301 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/0.6473, allocations: 1.637 MB / 0.8317 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005602/0.6479, allocations: 73.86 kB / 0.8318 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/0.6479, allocations: 26.28 kB / 0.8318 GB, free: 14.57 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.0003428/0.6483, allocations: 248.1 kB / 0.8321 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.6484, allocations: 86.11 kB / 0.8321 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002067/0.6505, allocations: 1.003 MB / 0.8331 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.6505, allocations: 9.812 kB / 0.8331 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.6505, allocations: 0.8125 kB / 0.8331 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.6505, allocations: 3 kB / 0.8331 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002719/0.6533, allocations: 1.87 MB / 0.835 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.6533, allocations: 0 / 0.835 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005066/0.6538, allocations: 152.4 kB / 0.8351 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000398/0.6542, allocations: 75.12 kB / 0.8352 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.475e-05/0.6543, allocations: 25.58 kB / 0.8352 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00169/0.656, allocations: 1.655 MB / 0.8368 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.656, allocations: 1.203 kB / 0.8368 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.6577, allocations: 0.9249 MB / 0.8377 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003523/0.658, allocations: 256.8 kB / 0.838 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.6581, allocations: 27.28 kB / 0.838 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005467/0.6587, allocations: 55.45 kB / 0.838 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.604e-05/0.6588, allocations: 59.64 kB / 0.8381 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-05/0.6589, allocations: 31.7 kB / 0.8381 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004212/0.6593, allocations: 428.5 kB / 0.8385 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6593, allocations: 1.594 kB / 0.8385 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008026/0.6601, allocations: 288.1 kB / 0.8388 GB, free: 12.04 MB / 0.6544 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.002914/0.663, allocations: 1.974 MB / 0.8407 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001244/0.6643, allocations: 0.7277 MB / 0.8415 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.6643, allocations: 1.125 kB / 0.8415 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008207/0.6651, allocations: 0.4895 MB / 0.8419 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.6662, allocations: 282 kB / 0.8422 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008721/0.6749, allocations: 5.91 MB / 0.848 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/0.6754, allocations: 1.007 MB / 0.849 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007358/0.6762, allocations: 254.5 kB / 0.8492 GB, free: 8.324 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000406/0.6766, allocations: 355.4 kB / 0.8495 GB, free: 8.316 MB / 0.6544 GB Notification: Performance of SimCode: time 5.71e-07/0.6766, allocations: 1.094 kB / 0.8495 GB, free: 8.316 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04538/0.722, allocations: 19.96 MB / 0.869 GB, free: 4.277 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.47, allocations: 7.125 kB / 0.869 GB, free: 4.273 MB / 0.6544 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)