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.005178/0.005178, allocations: 99 kB / 15.73 MB, free: 6.059 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.00122/0.00122, allocations: 189.4 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.059 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8611/0.8611, allocations: 132.2 MB / 422.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.00186, allocations: 59.91 kB / 0.5809 GB, free: 8.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3359, allocations: 80.21 MB / 0.6592 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004604/0.3405, allocations: 4.204 MB / 0.6633 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1704/0.5109, allocations: 150.6 MB / 0.8103 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007096/0.5117, allocations: 19.88 kB / 0.8104 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005196/0.5122, allocations: 170.5 kB / 0.8105 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.5136, allocations: 485.3 kB / 0.811 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.5156, allocations: 0.8313 MB / 0.8118 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001281/0.5169, allocations: 1.227 MB / 0.813 GB, free: 8.109 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009089/0.5178, allocations: 0.629 MB / 0.8136 GB, free: 7.461 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005408/0.5183, allocations: 454.4 kB / 0.814 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005594/0.5189, allocations: 465.9 kB / 0.8145 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.5191, allocations: 104 kB / 0.8146 GB, free: 6.457 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008731/0.5199, allocations: 0.4917 MB / 0.8151 GB, free: 5.965 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002918/0.5202, allocations: 283.1 kB / 0.8153 GB, free: 5.688 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004776/0.5207, allocations: 0.5051 MB / 0.8158 GB, free: 5.18 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.5225, allocations: 1.546 MB / 0.8173 GB, free: 3.629 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5225, allocations: 3.938 kB / 0.8173 GB, free: 3.625 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5225, allocations: 0 / 0.8173 GB, free: 3.625 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.5225, allocations: 0 / 0.8173 GB, free: 3.625 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002269/0.5248, allocations: 1.402 MB / 0.8187 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.5248, allocations: 15.97 kB / 0.8187 GB, free: 2.148 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/0.525, allocations: 139.4 kB / 0.8189 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008823/0.5259, allocations: 180.1 kB / 0.819 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.527, allocations: 0.7388 MB / 0.8197 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.773e-05/0.5271, allocations: 66 kB / 0.8198 GB, free: 0.9844 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.5272, allocations: 87.88 kB / 0.8199 GB, free: 0.8984 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.5288, allocations: 0.895 MB / 0.8208 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.5288, allocations: 0 / 0.8208 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.129e-05/0.5289, allocations: 36 kB / 0.8208 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.5289, allocations: 20 kB / 0.8208 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001836/0.5308, allocations: 1.1 MB / 0.8219 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003948/0.5347, allocations: 2.501 MB / 0.8243 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/0.5367, allocations: 0.8739 MB / 0.8252 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005501/0.5372, allocations: 294.4 kB / 0.8255 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.057e-05/0.5373, allocations: 36.67 kB / 0.8255 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008056/0.5381, allocations: 443.2 kB / 0.8259 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 1.834e-06/0.5382, allocations: 0 / 0.8259 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.003111/0.5413, allocations: 1.12 MB / 0.827 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.5414, allocations: 196.6 kB / 0.8272 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007586/0.5422, allocations: 0.5979 MB / 0.8278 GB, free: 8.586 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.67e-05/0.5423, allocations: 37.7 kB / 0.8278 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/0.5426, allocations: 377 kB / 0.8282 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002224/0.5428, allocations: 273.7 kB / 0.8285 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/0.543, allocations: 142.2 kB / 0.8286 GB, free: 7.75 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.5432, allocations: 382.7 kB / 0.829 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004839/0.5437, allocations: 233.2 kB / 0.8292 GB, free: 7.141 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005997/0.5443, allocations: 334.7 kB / 0.8295 GB, free: 6.785 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.5455, allocations: 0.5511 MB / 0.83 GB, free: 6.227 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.5455, allocations: 0 / 0.83 GB, free: 6.227 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001875/0.5473, allocations: 0.7553 MB / 0.8308 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.5474, allocations: 4 kB / 0.8308 GB, free: 5.457 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.5474, allocations: 0 / 0.8308 GB, free: 5.457 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006023/0.548, allocations: 92.7 kB / 0.8309 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006139/0.5486, allocations: 143.8 kB / 0.831 GB, free: 5.223 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/0.5508, allocations: 1.63 MB / 0.8326 GB, free: 3.449 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005616/0.5514, allocations: 83.53 kB / 0.8327 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.932e-05/0.5515, allocations: 32.03 kB / 0.8327 GB, free: 3.336 MB / 0.6544 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.0003532/0.5518, allocations: 258.2 kB / 0.8329 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.552, allocations: 87.42 kB / 0.833 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002497/0.5545, allocations: 1.05 MB / 0.8341 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.5545, allocations: 8 kB / 0.8341 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5545, allocations: 11.88 kB / 0.8341 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.5545, allocations: 7.969 kB / 0.8341 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00335/0.5579, allocations: 1.936 MB / 0.836 GB, free: 15.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5579, allocations: 0 / 0.836 GB, free: 15.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006516/0.5586, allocations: 155.8 kB / 0.8361 GB, free: 15.75 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004611/0.559, allocations: 76.72 kB / 0.8362 GB, free: 15.67 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.361e-05/0.5591, allocations: 23.98 kB / 0.8362 GB, free: 15.65 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/0.5612, allocations: 1.662 MB / 0.8378 GB, free: 13.84 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5612, allocations: 0 / 0.8378 GB, free: 13.84 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/0.5632, allocations: 0.9674 MB / 0.8388 GB, free: 12.85 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003383/0.5636, allocations: 264.2 kB / 0.839 GB, free: 12.57 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.5637, allocations: 23.95 kB / 0.8391 GB, free: 12.55 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005882/0.5643, allocations: 51.94 kB / 0.8391 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.5644, allocations: 68.91 kB / 0.8392 GB, free: 12.43 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/0.5645, allocations: 35.98 kB / 0.8392 GB, free: 12.39 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005623/0.5651, allocations: 435 kB / 0.8396 GB, free: 11.98 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5651, allocations: 0 / 0.8396 GB, free: 11.98 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007632/0.5659, allocations: 307.1 kB / 0.8399 GB, free: 11.68 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 (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.004098/0.57, allocations: 2.031 MB / 0.8419 GB, free: 9.832 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001583/0.5716, allocations: 0.7628 MB / 0.8426 GB, free: 9.055 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5716, allocations: 0 / 0.8426 GB, free: 9.055 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009445/0.5725, allocations: 0.5082 MB / 0.8431 GB, free: 8.535 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.5737, allocations: 293.7 kB / 0.8434 GB, free: 8.273 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.5847, allocations: 6.066 MB / 0.8493 GB, free: 2.109 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007192/0.5854, allocations: 1.016 MB / 0.8503 GB, free: 1.066 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007238/0.5861, allocations: 258.5 kB / 0.8506 GB, free: 0.8086 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005446/0.5867, allocations: 363.3 kB / 0.8509 GB, free: 464 kB / 0.67 GB Notification: Performance of SimCode: time 3.51e-07/0.5867, allocations: 0 / 0.8509 GB, free: 464 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3135/0.9002, allocations: 20.6 MB / 0.8711 GB, free: 192.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.52, allocations: 6.766 kB / 0.8711 GB, free: 192.5 MB / 0.6856 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)