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.001477/0.001476, allocations: 108 kB / 15.61 MB, free: 152 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.001803/0.001803, allocations: 194 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.256/2.256, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.245/1.245, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00261/0.00261, allocations: 64.38 kB / 0.5054 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2452, allocations: 80.93 MB / 0.5845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.01077/0.256, allocations: 4.186 MB / 0.5886 GB, free: 264 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.7647/1.021, allocations: 150.6 MB / 0.7356 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/1.022, allocations: 19.88 kB / 0.7356 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/1.023, allocations: 164.5 kB / 0.7358 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003009/1.026, allocations: 488.6 kB / 0.7362 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004113/1.03, allocations: 0.8276 MB / 0.7371 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002618/1.033, allocations: 1.222 MB / 0.7382 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001917/1.035, allocations: 0.6279 MB / 0.7389 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001328/1.036, allocations: 453.8 kB / 0.7393 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/1.037, allocations: 463.4 kB / 0.7397 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004117/1.038, allocations: 106.1 kB / 0.7398 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001799/1.04, allocations: 481.6 kB / 0.7403 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004871/1.04, allocations: 275.2 kB / 0.7406 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001069/1.041, allocations: 0.5093 MB / 0.7411 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003678/1.045, allocations: 1.501 MB / 0.7425 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.045, allocations: 0 / 0.7425 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.755e-06/1.045, allocations: 1.125 kB / 0.7425 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.398e-05/1.045, allocations: 0 / 0.7425 GB, free: 8.082 MB / 0.5606 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.004555/1.05, allocations: 1.37 MB / 0.7439 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/1.05, allocations: 9.625 kB / 0.7439 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002989/1.05, allocations: 132.2 kB / 0.744 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002043/1.052, allocations: 188.9 kB / 0.7442 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/1.054, allocations: 0.7083 MB / 0.7449 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-05/1.054, allocations: 64.81 kB / 0.7449 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001988/1.054, allocations: 76.69 kB / 0.745 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002911/1.057, allocations: 0.8981 MB / 0.7459 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/1.057, allocations: 6.812 kB / 0.7459 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001516/1.058, allocations: 39.17 kB / 0.7459 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.194e-05/1.058, allocations: 21.16 kB / 0.7459 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003378/1.061, allocations: 1.098 MB / 0.747 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008077/1.069, allocations: 2.518 MB / 0.7495 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003713/1.073, allocations: 0.8734 MB / 0.7503 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009293/1.074, allocations: 282.9 kB / 0.7506 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/1.074, allocations: 40.61 kB / 0.7506 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001575/1.076, allocations: 463.6 kB / 0.7511 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 5.611e-06/1.076, allocations: 0 / 0.7511 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.005947/1.082, allocations: 1.116 MB / 0.7522 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001565/1.082, allocations: 192.6 kB / 0.7523 GB, free: 372 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/1.083, allocations: 0.594 MB / 0.7529 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001414/1.084, allocations: 41.7 kB / 0.753 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005189/1.084, allocations: 384.3 kB / 0.7533 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003587/1.084, allocations: 244.3 kB / 0.7536 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004162/1.085, allocations: 146.2 kB / 0.7537 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002746/1.085, allocations: 386.7 kB / 0.7541 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009679/1.086, allocations: 225.2 kB / 0.7543 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/1.087, allocations: 334.8 kB / 0.7546 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002097/1.089, allocations: 0.5472 MB / 0.7551 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/1.09, allocations: 4 kB / 0.7551 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00356/1.093, allocations: 0.7549 MB / 0.7559 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/1.093, allocations: 4 kB / 0.7559 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/1.093, allocations: 0 / 0.7559 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/1.094, allocations: 84.83 kB / 0.756 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/1.096, allocations: 143.8 kB / 0.7561 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003671/1.099, allocations: 1.642 MB / 0.7577 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/1.101, allocations: 83.33 kB / 0.7578 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/1.101, allocations: 28.05 kB / 0.7578 GB, free: 10.53 MB / 0.5762 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.0008634/1.102, allocations: 251.7 kB / 0.7581 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005243/1.102, allocations: 83.05 kB / 0.7581 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005097/1.108, allocations: 1.056 MB / 0.7592 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/1.108, allocations: 11.94 kB / 0.7592 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/1.108, allocations: 7.938 kB / 0.7592 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.361e-05/1.108, allocations: 7.922 kB / 0.7592 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02358/1.131, allocations: 1.941 MB / 0.7611 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/1.131, allocations: 0.8438 kB / 0.7611 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/1.133, allocations: 151.8 kB / 0.7612 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008635/1.134, allocations: 72.78 kB / 0.7613 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/1.134, allocations: 23.98 kB / 0.7613 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003384/1.137, allocations: 1.654 MB / 0.7629 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/1.137, allocations: 4.562 kB / 0.7629 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003996/1.141, allocations: 0.9572 MB / 0.7639 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007737/1.142, allocations: 271.8 kB / 0.7641 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01643/1.158, allocations: 16 kB / 0.7642 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/1.16, allocations: 61.12 kB / 0.7642 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003038/1.16, allocations: 68.84 kB / 0.7643 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/1.16, allocations: 39.97 kB / 0.7643 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001047/1.162, allocations: 435 kB / 0.7647 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.21e-07/1.162, allocations: 0 / 0.7647 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001701/1.163, allocations: 299.3 kB / 0.765 GB, free: 2.898 MB / 0.5762 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.007652/1.171, allocations: 2.023 MB / 0.767 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004516/1.175, allocations: 0.9618 MB / 0.7679 GB, free: 92 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/1.176, allocations: 3.938 kB / 0.7679 GB, free: 88 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001782/1.177, allocations: 0.508 MB / 0.7684 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002612/1.18, allocations: 291.9 kB / 0.7687 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05248/1.232, allocations: 6.234 MB / 0.7748 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/1.234, allocations: 1.012 MB / 0.7758 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002/1.236, allocations: 262.5 kB / 0.776 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/1.237, allocations: 375.2 kB / 0.7764 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of SimCode: time 9.12e-07/1.237, allocations: 0 / 0.7764 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2573/1.494, allocations: 20.38 MB / 0.7963 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.57/24.06, allocations: 7.688 kB / 0.7963 GB, free: 3.27 MB / 0.6075 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)