Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.001192/0.001192, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001168, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.214/1.214, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6979/0.6979, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 68.2 kB / 0.5019 GB, free: 3.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3077, allocations: 80.2 MB / 0.5802 GB, free: 4.422 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.00511/0.3129, allocations: 4.204 MB / 0.5843 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1432/0.4561, allocations: 150.6 MB / 0.7313 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007242/0.4569, allocations: 19.88 kB / 0.7313 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005412/0.4575, allocations: 162.5 kB / 0.7315 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.459, allocations: 491.5 kB / 0.732 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.461, allocations: 0.8324 MB / 0.7328 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001175/0.4621, allocations: 1.223 MB / 0.734 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008105/0.463, allocations: 0.6368 MB / 0.7346 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005459/0.4635, allocations: 450.4 kB / 0.735 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005204/0.464, allocations: 469.9 kB / 0.7355 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001621/0.4642, allocations: 108 kB / 0.7356 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008082/0.465, allocations: 471.6 kB / 0.736 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002416/0.4653, allocations: 279.1 kB / 0.7363 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004406/0.4657, allocations: 0.509 MB / 0.7368 GB, free: 416 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.4672, allocations: 1.503 MB / 0.7383 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.4672, allocations: 0 / 0.7383 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.462e-06/0.4672, allocations: 0 / 0.7383 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.123e-05/0.4673, allocations: 0 / 0.7383 GB, free: 14.9 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002115/0.4694, allocations: 1.365 MB / 0.7396 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.4694, allocations: 8.031 kB / 0.7396 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001354/0.4696, allocations: 135.4 kB / 0.7397 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008594/0.4704, allocations: 179.4 kB / 0.7399 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000875/0.4713, allocations: 0.7226 MB / 0.7406 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.127e-05/0.4714, allocations: 61.98 kB / 0.7407 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-05/0.4715, allocations: 87.94 kB / 0.7407 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.4729, allocations: 0.8911 MB / 0.7416 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.4729, allocations: 0 / 0.7416 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.688e-05/0.473, allocations: 36 kB / 0.7417 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.473, allocations: 20 kB / 0.7417 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/0.4747, allocations: 1.1 MB / 0.7427 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003567/0.4782, allocations: 2.531 MB / 0.7452 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.48, allocations: 0.8728 MB / 0.7461 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004858/0.4805, allocations: 290.7 kB / 0.7463 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.729e-05/0.4806, allocations: 32.69 kB / 0.7464 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007644/0.4813, allocations: 451.1 kB / 0.7468 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 1.894e-06/0.4814, allocations: 0 / 0.7468 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.002836/0.4842, allocations: 1.12 MB / 0.7479 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.281e-05/0.4843, allocations: 188.6 kB / 0.7481 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006493/0.4849, allocations: 0.6019 MB / 0.7487 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.692e-05/0.485, allocations: 37.7 kB / 0.7487 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.4853, allocations: 380.3 kB / 0.7491 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.4854, allocations: 256.3 kB / 0.7493 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.4856, allocations: 138.2 kB / 0.7494 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.4858, allocations: 386.7 kB / 0.7498 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004452/0.4862, allocations: 225.2 kB / 0.75 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005337/0.4868, allocations: 338.8 kB / 0.7504 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009839/0.4878, allocations: 0.5511 MB / 0.7509 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4878, allocations: 0 / 0.7509 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001704/0.4895, allocations: 0.7549 MB / 0.7516 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.4895, allocations: 6.031 kB / 0.7516 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4895, allocations: 4.062 kB / 0.7516 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005619/0.4901, allocations: 88.77 kB / 0.7517 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005731/0.4907, allocations: 147.8 kB / 0.7519 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/0.4927, allocations: 1.619 MB / 0.7534 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005536/0.4933, allocations: 93.86 kB / 0.7535 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-05/0.4933, allocations: 23.98 kB / 0.7536 GB, free: 14.67 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 (solAzi.outsidePolarCircle,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 (80): * Single equations (assignments): 79 * 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.0002981/0.4936, allocations: 259.1 kB / 0.7538 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.4938, allocations: 90.91 kB / 0.7539 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/0.4961, allocations: 1.05 MB / 0.7549 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.4961, allocations: 8 kB / 0.7549 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4961, allocations: 3.938 kB / 0.7549 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.4961, allocations: 3.984 kB / 0.7549 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003002/0.4991, allocations: 1.947 MB / 0.7568 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.4991, allocations: 0 / 0.7568 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005818/0.4997, allocations: 159.8 kB / 0.757 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004124/0.5001, allocations: 68.8 kB / 0.757 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-05/0.5002, allocations: 27.97 kB / 0.7571 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/0.5019, allocations: 1.654 MB / 0.7587 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.502, allocations: 0 / 0.7587 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.5038, allocations: 0.9648 MB / 0.7596 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002999/0.5041, allocations: 267.8 kB / 0.7599 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.5042, allocations: 19.91 kB / 0.7599 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005703/0.5047, allocations: 51.94 kB / 0.76 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.5049, allocations: 64.91 kB / 0.76 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.391e-05/0.5049, allocations: 35.98 kB / 0.7601 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004698/0.5054, allocations: 443 kB / 0.7605 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5054, allocations: 0 / 0.7605 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006711/0.5061, allocations: 303.3 kB / 0.7608 GB, free: 7.02 MB / 0.5919 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 (93): * Single equations (assignments): 90 * 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.003096/0.5092, allocations: 2.009 MB / 0.7627 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002018/0.5112, allocations: 0.9697 MB / 0.7637 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5113, allocations: 0 / 0.7637 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008436/0.5121, allocations: 0.5121 MB / 0.7642 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.5132, allocations: 288.2 kB / 0.7644 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009487/0.5227, allocations: 6.222 MB / 0.7705 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005225/0.5232, allocations: 1.024 MB / 0.7715 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000711/0.5239, allocations: 254.5 kB / 0.7718 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004581/0.5244, allocations: 375.2 kB / 0.7721 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.5244, allocations: 0 / 0.7721 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04318/0.5676, allocations: 20.37 MB / 0.792 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.79, allocations: 7.406 kB / 0.792 GB, free: 7.43 MB / 0.6231 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)