Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.001078/0.001078, allocations: 108 kB / 15.6 MB, free: 128 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.001056/0.001055, allocations: 195.4 kB / 16.53 MB, free: 6.672 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.247/1.247, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7246/0.7246, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 65.33 kB / 0.5019 GB, free: 3.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3371, allocations: 80.2 MB / 0.5802 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004839/0.342, allocations: 4.081 MB / 0.5842 GB, free: 1.672 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.143/0.485, allocations: 150.4 MB / 0.7311 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008218/0.4859, allocations: 15.88 kB / 0.7311 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006702/0.4866, allocations: 166.5 kB / 0.7313 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001799/0.4884, allocations: 479.3 kB / 0.7317 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002005/0.4904, allocations: 0.7778 MB / 0.7325 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001377/0.4918, allocations: 1.164 MB / 0.7336 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008814/0.4927, allocations: 0.6214 MB / 0.7342 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006081/0.4933, allocations: 422.5 kB / 0.7346 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005981/0.4939, allocations: 446 kB / 0.735 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001942/0.4941, allocations: 104 kB / 0.7351 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008452/0.495, allocations: 451.7 kB / 0.7356 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000266/0.4953, allocations: 267.1 kB / 0.7358 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004392/0.4957, allocations: 0.4896 MB / 0.7363 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.4973, allocations: 1.46 MB / 0.7377 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4973, allocations: 0 / 0.7377 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4973, allocations: 0 / 0.7377 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.4973, allocations: 3.938 kB / 0.7377 GB, free: 15.59 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001968/0.4993, allocations: 1.319 MB / 0.739 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.4994, allocations: 8.031 kB / 0.739 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001394/0.4995, allocations: 127 kB / 0.7392 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008566/0.5004, allocations: 179.5 kB / 0.7393 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008595/0.5012, allocations: 0.6993 MB / 0.74 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.335e-05/0.5013, allocations: 58 kB / 0.7401 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-05/0.5014, allocations: 76 kB / 0.7401 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.5027, allocations: 0.8637 MB / 0.741 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.5027, allocations: 0 / 0.741 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.777e-05/0.5028, allocations: 32 kB / 0.741 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.5028, allocations: 20 kB / 0.741 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.5043, allocations: 1.065 MB / 0.7421 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00315/0.5075, allocations: 2.382 MB / 0.7444 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.5087, allocations: 0.7968 MB / 0.7452 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004485/0.5092, allocations: 270.4 kB / 0.7454 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.403e-05/0.5092, allocations: 36.58 kB / 0.7455 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007219/0.51, allocations: 421.6 kB / 0.7459 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 1.833e-06/0.51, allocations: 0 / 0.7459 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.002758/0.5127, allocations: 1.066 MB / 0.7469 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.097e-05/0.5128, allocations: 192.5 kB / 0.7471 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006027/0.5134, allocations: 0.5783 MB / 0.7477 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.083e-05/0.5135, allocations: 41.7 kB / 0.7477 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.5137, allocations: 384.2 kB / 0.7481 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.5139, allocations: 232.6 kB / 0.7483 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/0.5141, allocations: 134.2 kB / 0.7484 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.5142, allocations: 378.8 kB / 0.7488 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004075/0.5146, allocations: 213.2 kB / 0.749 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005034/0.5151, allocations: 314.8 kB / 0.7493 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009093/0.5161, allocations: 0.5195 MB / 0.7498 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.5161, allocations: 3.938 kB / 0.7498 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001581/0.5177, allocations: 0.712 MB / 0.7505 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.5177, allocations: 12 kB / 0.7505 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.5177, allocations: 0 / 0.7505 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005745/0.5183, allocations: 84.77 kB / 0.7506 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005267/0.5188, allocations: 131.8 kB / 0.7507 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/0.5207, allocations: 1.65 MB / 0.7523 GB, free: 108 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004755/0.5212, allocations: 67.53 kB / 0.7524 GB, free: 40 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.757e-05/0.5213, allocations: 31.97 kB / 0.7524 GB, free: 8 kB / 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: 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 (73): * Single equations (assignments): 72 * 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.0003053/0.5216, allocations: 249.7 kB / 0.7527 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.5217, allocations: 79 kB / 0.7527 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/0.5238, allocations: 0.9625 MB / 0.7537 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.5238, allocations: 8 kB / 0.7537 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5238, allocations: 4 kB / 0.7537 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.5239, allocations: 3.984 kB / 0.7537 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002707/0.5266, allocations: 1.833 MB / 0.7555 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.5266, allocations: 7.938 kB / 0.7555 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005121/0.5271, allocations: 135.8 kB / 0.7556 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004396/0.5276, allocations: 76.81 kB / 0.7557 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.433e-05/0.5276, allocations: 23.98 kB / 0.7557 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/0.5293, allocations: 1.674 MB / 0.7573 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.5293, allocations: 0 / 0.7573 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.531, allocations: 0.8947 MB / 0.7582 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002769/0.5313, allocations: 251.8 kB / 0.7585 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.5315, allocations: 20 kB / 0.7585 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000533/0.532, allocations: 59.81 kB / 0.7585 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.5321, allocations: 56.92 kB / 0.7586 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.573e-05/0.5322, allocations: 27.98 kB / 0.7586 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000474/0.5327, allocations: 431 kB / 0.759 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5327, allocations: 4 kB / 0.759 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007134/0.5334, allocations: 275.3 kB / 0.7593 GB, free: 8.695 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 (81): * Single equations (assignments): 78 * 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.003001/0.5364, allocations: 1.935 MB / 0.7612 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001907/0.5383, allocations: 0.8995 MB / 0.7621 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5383, allocations: 0 / 0.7621 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007791/0.5391, allocations: 484.4 kB / 0.7625 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.5402, allocations: 282.6 kB / 0.7628 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009101/0.5494, allocations: 5.972 MB / 0.7686 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004698/0.5498, allocations: 1.004 MB / 0.7696 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007095/0.5506, allocations: 254 kB / 0.7698 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000426/0.551, allocations: 343.3 kB / 0.7702 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.551, allocations: 0 / 0.7702 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04144/0.5924, allocations: 19.44 MB / 0.7891 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.83, allocations: 18.33 kB / 0.7892 GB, free: 10.51 MB / 0.6231 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv --start-time 100000 --stop-time 300000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 80 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)