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.001163/0.001163, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001178/0.001178, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.147/1.147, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7706/0.7706, allocations: 135.1 MB / 425.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 65.19 kB / 0.505 GB, free: 5.539 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1183, allocations: 80.92 MB / 0.584 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005619/0.124, allocations: 4.895 MB / 0.5888 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3156/0.4396, allocations: 148.7 MB / 0.734 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007141/0.4403, allocations: 18.75 kB / 0.734 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000583/0.4409, allocations: 151.1 kB / 0.7341 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.4425, allocations: 0.5141 MB / 0.7346 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00178/0.4443, allocations: 0.7943 MB / 0.7354 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001621/0.4459, allocations: 1.582 MB / 0.737 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.4471, allocations: 1.061 MB / 0.738 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008072/0.4479, allocations: 0.6803 MB / 0.7387 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007747/0.4487, allocations: 0.7433 MB / 0.7394 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002247/0.4489, allocations: 174.8 kB / 0.7395 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007957/0.4498, allocations: 0.5032 MB / 0.74 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000353/0.4501, allocations: 418.1 kB / 0.7404 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007216/0.4508, allocations: 0.7866 MB / 0.7412 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001839/0.4527, allocations: 2.133 MB / 0.7433 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4527, allocations: 2 kB / 0.7433 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4527, allocations: 0 / 0.7433 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.324e-05/0.4528, allocations: 0 / 0.7433 GB, free: 7.973 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.002952/0.4557, allocations: 1.781 MB / 0.745 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.4558, allocations: 10.88 kB / 0.745 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002123/0.456, allocations: 212.3 kB / 0.7452 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008673/0.4568, allocations: 235.2 kB / 0.7455 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.4579, allocations: 0.8884 MB / 0.7463 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.234e-05/0.458, allocations: 108.5 kB / 0.7464 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.4581, allocations: 135.3 kB / 0.7466 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.4601, allocations: 1.429 MB / 0.748 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.4601, allocations: 2.688 kB / 0.748 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.4603, allocations: 61.53 kB / 0.748 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.4603, allocations: 32.56 kB / 0.7481 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002101/0.4624, allocations: 1.521 MB / 0.7495 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005066/0.4675, allocations: 3.765 MB / 0.7532 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.4689, allocations: 0.9609 MB / 0.7542 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005788/0.4695, allocations: 400.2 kB / 0.7545 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-05/0.4696, allocations: 40.92 kB / 0.7546 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000918/0.4705, allocations: 0.5937 MB / 0.7552 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=104): time 2.094e-06/0.4705, allocations: 0 / 0.7552 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=104): time 0.003192/0.4737, allocations: 1.473 MB / 0.7566 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.443e-05/0.4738, allocations: 194.3 kB / 0.7568 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007671/0.4746, allocations: 0.7628 MB / 0.7575 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.732e-05/0.4747, allocations: 45.7 kB / 0.7576 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003366/0.475, allocations: 0.5543 MB / 0.7581 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/0.4752, allocations: 343 kB / 0.7584 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002702/0.4755, allocations: 198.5 kB / 0.7586 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.4756, allocations: 353.9 kB / 0.759 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000565/0.4762, allocations: 337.8 kB / 0.7593 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006665/0.4769, allocations: 462.5 kB / 0.7597 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.4781, allocations: 0.8039 MB / 0.7605 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.4782, allocations: 0 / 0.7605 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002035/0.4802, allocations: 1.071 MB / 0.7616 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.4802, allocations: 4 kB / 0.7616 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4802, allocations: 4.094 kB / 0.7616 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005414/0.4808, allocations: 89.27 kB / 0.7616 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008399/0.4816, allocations: 211.7 kB / 0.7619 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/0.4835, allocations: 1.647 MB / 0.7635 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006712/0.4841, allocations: 99.03 kB / 0.7636 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-05/0.4842, allocations: 43.97 kB / 0.7636 GB, free: 4.516 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.0003823/0.4846, allocations: 317.5 kB / 0.7639 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.4848, allocations: 102.7 kB / 0.764 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002759/0.4876, allocations: 1.386 MB / 0.7653 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.4876, allocations: 15.94 kB / 0.7654 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.4876, allocations: 0 / 0.7654 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.4876, allocations: 3.984 kB / 0.7654 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003519/0.4911, allocations: 2.564 MB / 0.7679 GB, free: 64 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.4911, allocations: 4 kB / 0.7679 GB, free: 60 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007174/0.4919, allocations: 195.7 kB / 0.7681 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004019/0.4923, allocations: 72.78 kB / 0.7681 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.16e-05/0.4923, allocations: 31.98 kB / 0.7682 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/0.494, allocations: 1.684 MB / 0.7698 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.494, allocations: 0 / 0.7698 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.496, allocations: 1.164 MB / 0.7709 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003389/0.4963, allocations: 327.3 kB / 0.7713 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.4965, allocations: 23.94 kB / 0.7713 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006554/0.4971, allocations: 67.17 kB / 0.7713 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.4973, allocations: 76.88 kB / 0.7714 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.038e-05/0.4974, allocations: 39.98 kB / 0.7715 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006313/0.498, allocations: 0.577 MB / 0.772 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.498, allocations: 0 / 0.772 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007841/0.4988, allocations: 394.7 kB / 0.7724 GB, free: 11.25 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.003311/0.5021, allocations: 2.223 MB / 0.7746 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002553/0.5047, allocations: 1.255 MB / 0.7758 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5047, allocations: 192 / 0.7758 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009009/0.5056, allocations: 0.6173 MB / 0.7764 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.5067, allocations: 309.6 kB / 0.7767 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/0.5199, allocations: 9.129 MB / 0.7856 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006626/0.5205, allocations: 1.167 MB / 0.7867 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000846/0.5214, allocations: 304.3 kB / 0.787 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006688/0.5221, allocations: 0.5461 MB / 0.7876 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of SimCode: time 4.098e-06/0.5221, allocations: 0 / 0.7876 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04116/0.5632, allocations: 25.73 MB / 0.8127 GB, free: 2.211 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003185/0.5636, allocations: 287.9 kB / 0.813 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.133/2.697, allocations: 0 / 0.813 GB, free: 1.832 MB / 0.6231 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)