Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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-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.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_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.001612/0.001612, allocations: 108 kB / 15.61 MB, free: 148 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.002035/0.002035, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.346/2.346, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.626/1.626, allocations: 135.1 MB / 425.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 63.94 kB / 0.5054 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2298, allocations: 80.93 MB / 0.5845 GB, free: 4.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.01047/0.2403, allocations: 4.109 MB / 0.5885 GB, free: 308 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.7826/1.023, allocations: 150.5 MB / 0.7354 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008933/1.024, allocations: 19.47 kB / 0.7354 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008414/1.025, allocations: 162.2 kB / 0.7356 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002887/1.028, allocations: 481.2 kB / 0.7361 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003619/1.031, allocations: 0.7936 MB / 0.7368 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002451/1.034, allocations: 1.178 MB / 0.738 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001667/1.035, allocations: 0.6056 MB / 0.7386 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/1.037, allocations: 432.1 kB / 0.739 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/1.038, allocations: 447.3 kB / 0.7394 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002908/1.038, allocations: 107.4 kB / 0.7395 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/1.039, allocations: 447.6 kB / 0.7399 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004676/1.04, allocations: 272.3 kB / 0.7402 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001009/1.041, allocations: 0.4905 MB / 0.7407 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002791/1.044, allocations: 1.443 MB / 0.7421 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/1.044, allocations: 0 / 0.7421 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.405e-06/1.044, allocations: 0 / 0.7421 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.796e-05/1.044, allocations: 1.188 kB / 0.7421 GB, free: 8.508 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.004401/1.048, allocations: 1.332 MB / 0.7434 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/1.048, allocations: 9.875 kB / 0.7434 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002977/1.049, allocations: 134 kB / 0.7435 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001783/1.05, allocations: 179.1 kB / 0.7437 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001985/1.052, allocations: 0.7019 MB / 0.7444 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.446e-05/1.053, allocations: 63 kB / 0.7444 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002091/1.053, allocations: 78.88 kB / 0.7445 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002943/1.056, allocations: 0.8631 MB / 0.7454 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/1.056, allocations: 0 / 0.7454 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/1.056, allocations: 31.97 kB / 0.7454 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-05/1.056, allocations: 19 kB / 0.7454 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003388/1.059, allocations: 1.066 MB / 0.7465 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007305/1.067, allocations: 2.375 MB / 0.7488 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002648/1.069, allocations: 0.7938 MB / 0.7495 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000953/1.07, allocations: 279.5 kB / 0.7498 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/1.071, allocations: 33.92 kB / 0.7498 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0015/1.072, allocations: 422.1 kB / 0.7502 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=72): time 5.14e-06/1.072, allocations: 0 / 0.7502 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72): time 0.005811/1.078, allocations: 1.08 MB / 0.7513 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001965/1.078, allocations: 188.6 kB / 0.7515 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/1.08, allocations: 0.5861 MB / 0.7521 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001508/1.08, allocations: 37.7 kB / 0.7521 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006147/1.081, allocations: 372.4 kB / 0.7524 GB, free: 388 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004404/1.081, allocations: 240.5 kB / 0.7527 GB, free: 144 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000439/1.082, allocations: 134.2 kB / 0.7528 GB, free: 4 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0003057/1.082, allocations: 378.8 kB / 0.7532 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000885/1.083, allocations: 220.9 kB / 0.7534 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/1.084, allocations: 322.7 kB / 0.7537 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001995/1.086, allocations: 0.5199 MB / 0.7542 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/1.086, allocations: 3.938 kB / 0.7542 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003419/1.09, allocations: 0.7158 MB / 0.7549 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/1.09, allocations: 4 kB / 0.7549 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/1.09, allocations: 4 kB / 0.7549 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/1.091, allocations: 84.84 kB / 0.755 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/1.092, allocations: 139.8 kB / 0.7551 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003907/1.096, allocations: 1.628 MB / 0.7567 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/1.097, allocations: 71.42 kB / 0.7568 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/1.097, allocations: 34.92 kB / 0.7568 GB, free: 11.7 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: 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 (75): * Single equations (assignments): 74 * 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.0007835/1.098, allocations: 249.6 kB / 0.757 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003912/1.098, allocations: 79 kB / 0.7571 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004457/1.103, allocations: 1.003 MB / 0.7581 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/1.103, allocations: 8 kB / 0.7581 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.103, allocations: 0 / 0.7581 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.812e-05/1.103, allocations: 3.984 kB / 0.7581 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006204/1.109, allocations: 1.858 MB / 0.7599 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/1.109, allocations: 3.938 kB / 0.7599 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/1.11, allocations: 147.8 kB / 0.7601 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000838/1.111, allocations: 72.78 kB / 0.7601 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/1.111, allocations: 23.98 kB / 0.7602 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003425/1.115, allocations: 1.662 MB / 0.7618 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.115, allocations: 1.797 kB / 0.7618 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002879/1.118, allocations: 0.9141 MB / 0.7627 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006377/1.118, allocations: 259.8 kB / 0.7629 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002529/1.119, allocations: 20 kB / 0.7629 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009104/1.12, allocations: 51.95 kB / 0.763 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/1.12, allocations: 56.91 kB / 0.7631 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/1.12, allocations: 31.98 kB / 0.7631 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008628/1.121, allocations: 431 kB / 0.7635 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.625e-06/1.121, allocations: 0 / 0.7635 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001335/1.122, allocations: 293.8 kB / 0.7638 GB, free: 4.312 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 (86): * Single equations (assignments): 83 * 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.004932/1.127, allocations: 1.958 MB / 0.7657 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003429/1.131, allocations: 0.9149 MB / 0.7666 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/1.131, allocations: 0 / 0.7666 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001636/1.132, allocations: 496.3 kB / 0.7671 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/1.135, allocations: 289.8 kB / 0.7673 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01783/1.153, allocations: 6.033 MB / 0.7732 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/1.154, allocations: 1.005 MB / 0.7742 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001416/1.155, allocations: 258 kB / 0.7744 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007733/1.156, allocations: 347.3 kB / 0.7748 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of SimCode: time 1.382e-06/1.156, allocations: 0 / 0.7748 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09146/1.247, allocations: 19.69 MB / 0.794 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.42/22.67, allocations: 11.94 kB / 0.794 GB, free: 5.754 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)