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.0007775/0.0007775, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008477/0.0008477, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 223.3 MB / 240 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.911/0.911, allocations: 135.3 MB / 426.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002836/0.0002837, allocations: 8.219 kB / 0.5071 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.14, allocations: 82.31 MB / 0.5875 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005271/0.1453, allocations: 4.223 MB / 0.5916 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3813/0.5267, allocations: 137.1 MB / 0.7255 GB, free: 6.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006216/0.5273, allocations: 24.94 kB / 0.7255 GB, free: 6.758 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004771/0.5278, allocations: 144 kB / 0.7256 GB, free: 6.676 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.5291, allocations: 471.9 kB / 0.7261 GB, free: 6.406 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.5309, allocations: 0.683 MB / 0.7267 GB, free: 6.062 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001498/0.5325, allocations: 1.37 MB / 0.7281 GB, free: 5.375 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.5335, allocations: 0.8189 MB / 0.7289 GB, free: 5.012 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007165/0.5343, allocations: 444.6 kB / 0.7293 GB, free: 4.82 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005964/0.5349, allocations: 488.3 kB / 0.7298 GB, free: 4.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.502e-05/0.535, allocations: 29.53 kB / 0.7298 GB, free: 4.59 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007957/0.5358, allocations: 342.2 kB / 0.7301 GB, free: 4.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002463/0.536, allocations: 226.7 kB / 0.7303 GB, free: 4.391 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002931/0.5363, allocations: 257.3 kB / 0.7306 GB, free: 4.211 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001722/0.5381, allocations: 1.578 MB / 0.7321 GB, free: 3.809 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5381, allocations: 0 / 0.7321 GB, free: 3.809 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5381, allocations: 4 kB / 0.7321 GB, free: 3.805 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.868e-05/0.5381, allocations: 0 / 0.7321 GB, free: 3.805 MB / 0.545 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.002708/0.5409, allocations: 1.487 MB / 0.7336 GB, free: 2.812 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.5409, allocations: 9 kB / 0.7336 GB, free: 2.812 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002436/0.5411, allocations: 207.2 kB / 0.7338 GB, free: 2.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008979/0.5421, allocations: 249.1 kB / 0.734 GB, free: 2.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.5432, allocations: 0.8556 MB / 0.7349 GB, free: 2.031 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.064e-05/0.5433, allocations: 110.7 kB / 0.735 GB, free: 1.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002005/0.5435, allocations: 135.8 kB / 0.7351 GB, free: 1.938 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/0.5459, allocations: 1.421 MB / 0.7365 GB, free: 1.309 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.5459, allocations: 3.938 kB / 0.7365 GB, free: 1.305 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.5461, allocations: 61.75 kB / 0.7365 GB, free: 1.258 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.536e-05/0.5461, allocations: 34.38 kB / 0.7366 GB, free: 1.258 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002367/0.5485, allocations: 1.517 MB / 0.7381 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005365/0.5538, allocations: 3.789 MB / 0.7418 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.5553, allocations: 0.9533 MB / 0.7427 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005996/0.5559, allocations: 399.3 kB / 0.7431 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-05/0.556, allocations: 42.8 kB / 0.7431 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000978/0.557, allocations: 0.5864 MB / 0.7437 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=104): time 2.615e-06/0.557, allocations: 0 / 0.7437 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=104): time 0.003352/0.5604, allocations: 1.493 MB / 0.7451 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.862e-05/0.5605, allocations: 192.9 kB / 0.7453 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.5615, allocations: 0.7434 MB / 0.7461 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.224e-05/0.5616, allocations: 45.7 kB / 0.7461 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004388/0.5621, allocations: 0.5699 MB / 0.7467 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002705/0.5623, allocations: 339 kB / 0.747 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.349e-05/0.5624, allocations: 20 kB / 0.747 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.5625, allocations: 341.9 kB / 0.7473 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006361/0.5632, allocations: 345.8 kB / 0.7477 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007257/0.5639, allocations: 462.5 kB / 0.7481 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000742/0.5647, allocations: 406.8 kB / 0.7485 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.5647, allocations: 7.875 kB / 0.7485 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00227/0.567, allocations: 1.071 MB / 0.7495 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.567, allocations: 7.984 kB / 0.7495 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.567, allocations: 4 kB / 0.7495 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005485/0.5676, allocations: 80.84 kB / 0.7496 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009154/0.5685, allocations: 215.7 kB / 0.7498 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.5705, allocations: 1.529 MB / 0.7513 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009157/0.5714, allocations: 117.8 kB / 0.7514 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-05/0.5715, allocations: 43.95 kB / 0.7515 GB, free: 4.246 MB / 0.5606 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006235/0.5721, allocations: 314.3 kB / 0.7518 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.5723, allocations: 98.78 kB / 0.7519 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002981/0.5753, allocations: 1.413 MB / 0.7532 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.5753, allocations: 12 kB / 0.7533 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5753, allocations: 7.953 kB / 0.7533 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.5753, allocations: 3.984 kB / 0.7533 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004209/0.5795, allocations: 2.568 MB / 0.7558 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.5796, allocations: 3.984 kB / 0.7558 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007922/0.5804, allocations: 187.7 kB / 0.756 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004883/0.5809, allocations: 92.77 kB / 0.7561 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.431e-05/0.5809, allocations: 23.98 kB / 0.7561 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/0.5827, allocations: 1.552 MB / 0.7576 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5827, allocations: 0 / 0.7576 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/0.585, allocations: 1.175 MB / 0.7587 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005197/0.5856, allocations: 355.2 kB / 0.7591 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.5857, allocations: 27.94 kB / 0.7591 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007121/0.5864, allocations: 73.17 kB / 0.7592 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.5866, allocations: 76.88 kB / 0.7592 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.283e-05/0.5867, allocations: 35.98 kB / 0.7593 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007915/0.5875, allocations: 0.5693 MB / 0.7598 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5875, allocations: 0 / 0.7598 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001098/0.5886, allocations: 398.7 kB / 0.7602 GB, free: 11.04 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 (115): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003654/0.5923, allocations: 2.229 MB / 0.7624 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00191/0.5942, allocations: 1.009 MB / 0.7634 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5942, allocations: 0 / 0.7634 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009875/0.5952, allocations: 0.6134 MB / 0.764 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.5965, allocations: 265.5 kB / 0.7642 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/0.6099, allocations: 6.578 MB / 0.7707 GB, free: 324 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007713/0.6107, allocations: 1.17 MB / 0.7718 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001063/0.6118, allocations: 300.3 kB / 0.7721 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007476/0.6125, allocations: 0.5382 MB / 0.7726 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of SimCode: time 5.31e-07/0.6125, allocations: 0 / 0.7726 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04673/0.6593, allocations: 26.08 MB / 0.7981 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/0.6595, allocations: 272.5 kB / 0.7983 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.384/3.044, allocations: 3.938 kB / 0.7983 GB, free: 4.199 MB / 0.6075 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/linux/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) Environment - environmentSimulation: