Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IDEAS_dev_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.005195/0.005195, allocations: 95.97 kB / 15.73 MB, free: 6.055 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.001282/0.001282, allocations: 202.8 kB / 16.68 MB, free: 5.977 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.351/1.351, 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-master/package.mo): time 0.9063/0.9063, allocations: 135.1 MB / 425.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 59.91 kB / 0.5851 GB, free: 3.891 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3705, allocations: 80.91 MB / 0.6641 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004422/0.375, allocations: 4.216 MB / 0.6683 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1566/0.5316, allocations: 150.6 MB / 0.8153 GB, free: 6.242 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008123/0.5324, allocations: 19.88 kB / 0.8153 GB, free: 6.223 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005175/0.533, allocations: 174.5 kB / 0.8155 GB, free: 6.051 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.5344, allocations: 496.9 kB / 0.816 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.5363, allocations: 0.8345 MB / 0.8168 GB, free: 4.738 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001031/0.5373, allocations: 1.223 MB / 0.818 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007954/0.5381, allocations: 0.6256 MB / 0.8186 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004804/0.5386, allocations: 462.4 kB / 0.819 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004575/0.5391, allocations: 469.9 kB / 0.8195 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.5392, allocations: 104 kB / 0.8196 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007308/0.5399, allocations: 0.4917 MB / 0.8201 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002298/0.5402, allocations: 283 kB / 0.8203 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003886/0.5406, allocations: 0.5051 MB / 0.8208 GB, free: 0.5703 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001513/0.5421, allocations: 1.55 MB / 0.8223 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5421, allocations: 4 kB / 0.8223 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5421, allocations: 0 / 0.8223 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.452e-05/0.5422, allocations: 4 kB / 0.8223 GB, free: 15.01 MB / 0.6544 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.002105/0.5443, allocations: 1.398 MB / 0.8237 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.5443, allocations: 8.031 kB / 0.8237 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/0.5445, allocations: 135.3 kB / 0.8238 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009152/0.5454, allocations: 200.1 kB / 0.824 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.5464, allocations: 0.7349 MB / 0.8247 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.494e-05/0.5465, allocations: 62 kB / 0.8248 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.5466, allocations: 76 kB / 0.8249 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.5481, allocations: 0.9066 MB / 0.8258 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.5481, allocations: 0 / 0.8258 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-05/0.5482, allocations: 36 kB / 0.8258 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.5482, allocations: 20 kB / 0.8258 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001728/0.55, allocations: 1.097 MB / 0.8269 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00378/0.5538, allocations: 2.508 MB / 0.8293 GB, free: 7.625 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/0.5557, allocations: 0.8727 MB / 0.8302 GB, free: 6.727 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005196/0.5562, allocations: 290.7 kB / 0.8305 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.791e-05/0.5563, allocations: 28.69 kB / 0.8305 GB, free: 6.414 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007601/0.557, allocations: 443.2 kB / 0.8309 GB, free: 5.965 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 2.064e-06/0.5571, allocations: 4 kB / 0.8309 GB, free: 5.961 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.00304/0.5601, allocations: 1.12 MB / 0.832 GB, free: 4.816 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.496e-05/0.5602, allocations: 192.6 kB / 0.8322 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006851/0.5609, allocations: 0.5979 MB / 0.8328 GB, free: 3.98 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.602e-05/0.561, allocations: 41.7 kB / 0.8328 GB, free: 3.934 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.00026/0.5612, allocations: 381 kB / 0.8332 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/0.5615, allocations: 265.7 kB / 0.8334 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.5617, allocations: 146.2 kB / 0.8336 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5618, allocations: 382.7 kB / 0.8339 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004619/0.5623, allocations: 225.2 kB / 0.8342 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005606/0.5629, allocations: 342.7 kB / 0.8345 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.5639, allocations: 0.555 MB / 0.835 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5639, allocations: 0 / 0.835 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001784/0.5657, allocations: 0.7514 MB / 0.8358 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.5657, allocations: 7.984 kB / 0.8358 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.5658, allocations: 4 kB / 0.8358 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000588/0.5663, allocations: 84.78 kB / 0.8359 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006062/0.567, allocations: 139.8 kB / 0.836 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001986/0.569, allocations: 1.642 MB / 0.8376 GB, free: 14.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006056/0.5696, allocations: 83.59 kB / 0.8377 GB, free: 14.74 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.678e-05/0.5696, allocations: 31.98 kB / 0.8377 GB, free: 14.71 MB / 0.67 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.0003303/0.57, allocations: 262.6 kB / 0.838 GB, free: 14.45 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.5701, allocations: 79.48 kB / 0.838 GB, free: 14.37 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00234/0.5725, allocations: 1.05 MB / 0.8391 GB, free: 13.31 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.5725, allocations: 16 kB / 0.8391 GB, free: 13.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.5725, allocations: 3.984 kB / 0.8391 GB, free: 13.29 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.5725, allocations: 11.97 kB / 0.8391 GB, free: 13.28 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003205/0.5758, allocations: 1.932 MB / 0.841 GB, free: 11.29 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5758, allocations: 0 / 0.841 GB, free: 11.29 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006225/0.5764, allocations: 159.8 kB / 0.8411 GB, free: 11.13 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004405/0.5768, allocations: 68.8 kB / 0.8412 GB, free: 11.06 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.031e-05/0.5769, allocations: 27.98 kB / 0.8412 GB, free: 11.03 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.5787, allocations: 1.658 MB / 0.8428 GB, free: 9.227 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.5788, allocations: 4.031 kB / 0.8428 GB, free: 9.223 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.5807, allocations: 0.9633 MB / 0.8438 GB, free: 8.242 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003546/0.581, allocations: 268.2 kB / 0.844 GB, free: 7.961 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.5811, allocations: 19.98 kB / 0.8441 GB, free: 7.941 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000617/0.5818, allocations: 55.95 kB / 0.8441 GB, free: 7.887 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.5819, allocations: 64.91 kB / 0.8442 GB, free: 7.824 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.554e-05/0.582, allocations: 35.97 kB / 0.8442 GB, free: 7.789 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005135/0.5825, allocations: 435 kB / 0.8446 GB, free: 7.371 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5825, allocations: 0 / 0.8446 GB, free: 7.371 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007977/0.5833, allocations: 307.1 kB / 0.8449 GB, free: 7.07 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.003364/0.5867, allocations: 2.03 MB / 0.8469 GB, free: 5.195 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00152/0.5882, allocations: 0.7628 MB / 0.8476 GB, free: 4.418 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.5882, allocations: 192 / 0.8476 GB, free: 4.418 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008658/0.5891, allocations: 0.508 MB / 0.8481 GB, free: 3.898 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.5903, allocations: 295.6 kB / 0.8484 GB, free: 3.625 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.6005, allocations: 6.056 MB / 0.8543 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005338/0.601, allocations: 1.019 MB / 0.8553 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007625/0.6018, allocations: 274.3 kB / 0.8556 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004951/0.6023, allocations: 366.4 kB / 0.8559 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of SimCode: time 6.01e-07/0.6023, allocations: 4 kB / 0.8559 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.318/0.9203, allocations: 20.59 MB / 0.876 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/13.04, allocations: 6.875 kB / 0.8761 GB, free: 190.2 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)