Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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/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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_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.0008054/0.0008055, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.0008967/0.0008967, allocations: 168.7 kB / 15.95 MB, free: 204 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.297/1.297, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7456/0.7456, allocations: 132.3 MB / 423.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003194, allocations: 8 kB / 0.5035 GB, free: 4.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3751, allocations: 81.57 MB / 0.5832 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004006/0.3791, allocations: 3.589 MB / 0.5867 GB, free: 1.426 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1492/0.5283, allocations: 136.8 MB / 0.7203 GB, free: 3.742 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008353/0.5292, allocations: 15.94 kB / 0.7203 GB, free: 3.727 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006144/0.5298, allocations: 134.9 kB / 0.7204 GB, free: 3.594 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001521/0.5313, allocations: 405.1 kB / 0.7208 GB, free: 3.199 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.5329, allocations: 0.5968 MB / 0.7214 GB, free: 2.609 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001238/0.5342, allocations: 1.043 MB / 0.7224 GB, free: 1.562 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008098/0.535, allocations: 487.1 kB / 0.7229 GB, free: 1.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005774/0.5356, allocations: 306.6 kB / 0.7232 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004762/0.5361, allocations: 326.2 kB / 0.7235 GB, free: 460 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.267e-05/0.5362, allocations: 20 kB / 0.7235 GB, free: 440 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006438/0.5368, allocations: 331.7 kB / 0.7238 GB, free: 108 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.537, allocations: 171.2 kB / 0.724 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.5372, allocations: 185.1 kB / 0.7242 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.5383, allocations: 1.083 MB / 0.7252 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5383, allocations: 0 / 0.7252 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5384, allocations: 0 / 0.7252 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.749e-05/0.5384, allocations: 0 / 0.7252 GB, free: 14.66 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002027/0.5404, allocations: 1.149 MB / 0.7263 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.5405, allocations: 8.031 kB / 0.7263 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001874/0.5407, allocations: 139 kB / 0.7265 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008312/0.5415, allocations: 190.5 kB / 0.7267 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009978/0.5425, allocations: 0.6875 MB / 0.7273 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.024e-05/0.5426, allocations: 62 kB / 0.7274 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.795e-05/0.5427, allocations: 76 kB / 0.7275 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.5442, allocations: 0.891 MB / 0.7283 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.5442, allocations: 0 / 0.7283 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.556e-05/0.5443, allocations: 32 kB / 0.7284 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.63e-05/0.5443, allocations: 23.95 kB / 0.7284 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/0.546, allocations: 1.097 MB / 0.7295 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003747/0.5497, allocations: 2.527 MB / 0.7319 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.551, allocations: 0.7384 MB / 0.7326 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004971/0.5515, allocations: 290.7 kB / 0.7329 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.781e-05/0.5516, allocations: 36.59 kB / 0.733 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007603/0.5524, allocations: 447.4 kB / 0.7334 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 2.515e-06/0.5524, allocations: 0 / 0.7334 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.002775/0.5552, allocations: 1.127 MB / 0.7345 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.498e-05/0.5553, allocations: 188.6 kB / 0.7347 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007017/0.556, allocations: 0.5901 MB / 0.7352 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.471e-05/0.556, allocations: 37.7 kB / 0.7353 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000275/0.5563, allocations: 384.2 kB / 0.7356 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/0.5565, allocations: 248.3 kB / 0.7359 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.5566, allocations: 16 kB / 0.7359 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.5568, allocations: 382.8 kB / 0.7363 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004454/0.5572, allocations: 229.9 kB / 0.7365 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005184/0.5577, allocations: 342.2 kB / 0.7368 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000522/0.5583, allocations: 279.1 kB / 0.7371 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.5583, allocations: 7.953 kB / 0.7371 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001666/0.56, allocations: 0.7627 MB / 0.7378 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.56, allocations: 4 kB / 0.7378 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.56, allocations: 0 / 0.7378 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000535/0.5605, allocations: 84.83 kB / 0.7379 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006101/0.5612, allocations: 147.8 kB / 0.7381 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/0.5631, allocations: 1.523 MB / 0.7395 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005311/0.5636, allocations: 79.44 kB / 0.7396 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.245e-05/0.5637, allocations: 47.98 kB / 0.7397 GB, free: 15.36 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 ($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 (81): * Single equations (assignments): 80 * 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.0003497/0.564, allocations: 255.2 kB / 0.7399 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.5642, allocations: 75.06 kB / 0.74 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002228/0.5664, allocations: 1.041 MB / 0.741 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/0.5664, allocations: 23.94 kB / 0.741 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5665, allocations: 0 / 0.741 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.5665, allocations: 3.984 kB / 0.741 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002999/0.5695, allocations: 1.88 MB / 0.7429 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.5695, allocations: 4 kB / 0.7429 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005734/0.5701, allocations: 147.8 kB / 0.743 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004498/0.5705, allocations: 80.78 kB / 0.7431 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.433e-05/0.5706, allocations: 23.98 kB / 0.7431 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/0.5724, allocations: 1.544 MB / 0.7446 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5724, allocations: 4.062 kB / 0.7446 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.5742, allocations: 0.9414 MB / 0.7455 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003606/0.5746, allocations: 275.7 kB / 0.7458 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.5747, allocations: 16 kB / 0.7458 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005529/0.5753, allocations: 79.61 kB / 0.7459 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.5754, allocations: 56.92 kB / 0.7459 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-05/0.5755, allocations: 31.97 kB / 0.746 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005417/0.576, allocations: 439 kB / 0.7464 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.576, allocations: 0 / 0.7464 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007856/0.5768, allocations: 291.2 kB / 0.7467 GB, free: 7.93 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 (87): * Single equations (assignments): 84 * 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.003258/0.5801, allocations: 1.974 MB / 0.7486 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.5816, allocations: 0.7552 MB / 0.7493 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.5816, allocations: 3.984 kB / 0.7493 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008156/0.5824, allocations: 0.4925 MB / 0.7498 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.5835, allocations: 247.7 kB / 0.7501 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009107/0.5926, allocations: 4.79 MB / 0.7547 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000588/0.5932, allocations: 1.008 MB / 0.7557 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008141/0.594, allocations: 250.5 kB / 0.756 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005068/0.5945, allocations: 367.3 kB / 0.7563 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/0.5946, allocations: 0 / 0.7563 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03779/0.6324, allocations: 20.3 MB / 0.7761 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/0.6326, allocations: 276.2 kB / 0.7764 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.201/2.834, allocations: 7.031 kB / 0.7764 GB, free: 9.906 MB / 0.6075 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) Environment - environmentSimulation: