Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.001771/0.001771, 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.002198/0.002198, allocations: 195.6 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.302/2.302, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.734/1.734, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002514/0.002514, allocations: 64.28 kB / 0.5054 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2552, allocations: 80.93 MB / 0.5845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.01356/0.2689, allocations: 4.905 MB / 0.5893 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.716/0.9849, allocations: 150.9 MB / 0.7366 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001445/0.9864, allocations: 18.84 kB / 0.7367 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.9876, allocations: 195.3 kB / 0.7368 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003544/0.9911, allocations: 0.5861 MB / 0.7374 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00401/0.9952, allocations: 0.8816 MB / 0.7383 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003308/0.9985, allocations: 1.579 MB / 0.7398 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002551/1.001, allocations: 1.057 MB / 0.7408 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001661/1.003, allocations: 0.6785 MB / 0.7415 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001597/1.004, allocations: 0.738 MB / 0.7422 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004113/1.005, allocations: 175 kB / 0.7424 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001783/1.007, allocations: 0.508 MB / 0.7429 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005901/1.007, allocations: 416.9 kB / 0.7433 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001284/1.009, allocations: 0.7852 MB / 0.7441 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004285/1.013, allocations: 2.128 MB / 0.7461 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/1.013, allocations: 0 / 0.7461 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.114e-06/1.013, allocations: 0 / 0.7461 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.641e-05/1.013, allocations: 0 / 0.7461 GB, free: 5.406 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.006023/1.019, allocations: 1.787 MB / 0.7479 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/1.019, allocations: 10.91 kB / 0.7479 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004046/1.019, allocations: 210.7 kB / 0.7481 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/1.022, allocations: 234.7 kB / 0.7483 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00267/1.024, allocations: 0.8815 MB / 0.7492 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/1.024, allocations: 112.2 kB / 0.7493 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003303/1.025, allocations: 138.9 kB / 0.7494 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004807/1.03, allocations: 1.428 MB / 0.7508 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.552e-05/1.03, allocations: 0.5625 kB / 0.7508 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002309/1.03, allocations: 57.47 kB / 0.7509 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.961e-05/1.03, allocations: 34.06 kB / 0.7509 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005107/1.035, allocations: 1.515 MB / 0.7524 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01264/1.048, allocations: 3.775 MB / 0.7561 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003509/1.051, allocations: 0.968 MB / 0.757 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00138/1.053, allocations: 399.7 kB / 0.7574 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001775/1.053, allocations: 48.98 kB / 0.7574 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002007/1.055, allocations: 0.5747 MB / 0.758 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=104): time 5.3e-06/1.055, allocations: 0 / 0.758 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=104): time 0.007429/1.062, allocations: 1.473 MB / 0.7594 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001679/1.063, allocations: 200.9 kB / 0.7596 GB, free: 9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/1.065, allocations: 0.7629 MB / 0.7604 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001802/1.065, allocations: 45.7 kB / 0.7604 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009116/1.066, allocations: 0.5504 MB / 0.761 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000527/1.066, allocations: 346.9 kB / 0.7613 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006404/1.067, allocations: 194.5 kB / 0.7615 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002463/1.067, allocations: 345.9 kB / 0.7618 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/1.069, allocations: 345.8 kB / 0.7621 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/1.07, allocations: 462.4 kB / 0.7626 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003053/1.073, allocations: 0.8078 MB / 0.7634 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/1.073, allocations: 0 / 0.7634 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.004849/1.078, allocations: 1.063 MB / 0.7644 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.842e-05/1.078, allocations: 4 kB / 0.7644 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/1.078, allocations: 4 kB / 0.7644 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/1.079, allocations: 96.64 kB / 0.7645 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002053/1.081, allocations: 207.7 kB / 0.7647 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003821/1.085, allocations: 1.643 MB / 0.7663 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/1.087, allocations: 107 kB / 0.7664 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001661/1.087, allocations: 43.95 kB / 0.7664 GB, free: 1.785 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 (117): * Single equations (assignments): 116 * 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.001062/1.088, allocations: 313.7 kB / 0.7667 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004402/1.089, allocations: 110.7 kB / 0.7668 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006366/1.095, allocations: 1.379 MB / 0.7682 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.97e-05/1.095, allocations: 20.92 kB / 0.7682 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.095, allocations: 0 / 0.7682 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.642e-05/1.095, allocations: 7.969 kB / 0.7682 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008564/1.104, allocations: 2.56 MB / 0.7707 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/1.104, allocations: 0 / 0.7707 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/1.106, allocations: 187.7 kB / 0.7709 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008511/1.107, allocations: 76.78 kB / 0.771 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/1.107, allocations: 28.86 kB / 0.771 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00363/1.11, allocations: 1.689 MB / 0.7727 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/1.11, allocations: 4.062 kB / 0.7727 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004755/1.115, allocations: 1.164 MB / 0.7738 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009305/1.116, allocations: 332.3 kB / 0.7741 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002879/1.116, allocations: 27.94 kB / 0.7741 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/1.118, allocations: 55.94 kB / 0.7742 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002791/1.118, allocations: 76.89 kB / 0.7743 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001485/1.118, allocations: 39.98 kB / 0.7743 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001503/1.12, allocations: 0.5809 MB / 0.7749 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.31e-07/1.12, allocations: 0 / 0.7749 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001892/1.122, allocations: 398.6 kB / 0.7752 GB, free: 8.504 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 (115): * Single equations (assignments): 112 * 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.007427/1.129, allocations: 2.217 MB / 0.7774 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00647/1.136, allocations: 1.259 MB / 0.7786 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/1.136, allocations: 4 kB / 0.7786 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002204/1.138, allocations: 0.6097 MB / 0.7792 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002863/1.141, allocations: 303.2 kB / 0.7795 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02813/1.169, allocations: 8.534 MB / 0.7879 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/1.171, allocations: 1.165 MB / 0.789 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002143/1.173, allocations: 292.4 kB / 0.7893 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001437/1.174, allocations: 0.5461 MB / 0.7898 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of SimCode: time 8.61e-07/1.174, allocations: 0 / 0.7898 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2472/1.421, allocations: 25.88 MB / 0.8151 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.4/19.82, allocations: 6.469 kB / 0.8151 GB, free: 15.91 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)