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.001138/0.001138, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001252/0.001252, allocations: 189.9 kB / 16.13 MB, free: 6.66 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.301/1.301, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6881/0.6881, allocations: 132.2 MB / 422.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 60 kB / 0.5012 GB, free: 9.102 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1296, allocations: 80.2 MB / 0.5795 GB, free: 9.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005023/0.1347, allocations: 4.189 MB / 0.5836 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3774/0.5122, allocations: 148.3 MB / 0.7284 GB, free: 3.219 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006797/0.5129, allocations: 16.16 kB / 0.7285 GB, free: 3.215 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006051/0.5135, allocations: 139.4 kB / 0.7286 GB, free: 3.133 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001521/0.5151, allocations: 416.5 kB / 0.729 GB, free: 2.91 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.5169, allocations: 0.6921 MB / 0.7297 GB, free: 2.539 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00113/0.518, allocations: 1.121 MB / 0.7308 GB, free: 2 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008214/0.5189, allocations: 0.5988 MB / 0.7313 GB, free: 1.672 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005815/0.5195, allocations: 389.9 kB / 0.7317 GB, free: 1.496 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004948/0.52, allocations: 428.4 kB / 0.7321 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.5201, allocations: 56.19 kB / 0.7322 GB, free: 1.281 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008551/0.521, allocations: 396 kB / 0.7326 GB, free: 1.18 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002347/0.5212, allocations: 227.5 kB / 0.7328 GB, free: 1.055 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003829/0.5216, allocations: 463.3 kB / 0.7332 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.5229, allocations: 1.423 MB / 0.7346 GB, free: 172 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.523, allocations: 0 / 0.7346 GB, free: 172 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.282e-06/0.523, allocations: 1 kB / 0.7346 GB, free: 172 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.523, allocations: 0 / 0.7346 GB, free: 172 kB / 0.545 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.002262/0.5253, allocations: 1.35 MB / 0.7359 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.5253, allocations: 9.75 kB / 0.7359 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001557/0.5255, allocations: 142.6 kB / 0.7361 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000907/0.5264, allocations: 177.8 kB / 0.7362 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008871/0.5273, allocations: 0.7051 MB / 0.7369 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.484e-05/0.5273, allocations: 63.53 kB / 0.737 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.292e-05/0.5274, allocations: 82.8 kB / 0.7371 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.5288, allocations: 0.8849 MB / 0.7379 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.5288, allocations: 4 kB / 0.7379 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-05/0.5289, allocations: 37.47 kB / 0.738 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.5289, allocations: 18.88 kB / 0.738 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/0.5305, allocations: 1.097 MB / 0.7391 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003732/0.5343, allocations: 2.504 MB / 0.7415 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.5355, allocations: 0.7265 MB / 0.7422 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004587/0.536, allocations: 290.6 kB / 0.7425 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.182e-05/0.5361, allocations: 31.98 kB / 0.7425 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000721/0.5368, allocations: 445.5 kB / 0.7429 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 2.645e-06/0.5368, allocations: 4 kB / 0.7429 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.003021/0.5399, allocations: 1.115 MB / 0.744 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.426e-05/0.54, allocations: 191.8 kB / 0.7442 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006363/0.5406, allocations: 0.5946 MB / 0.7448 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.785e-05/0.5407, allocations: 40.2 kB / 0.7448 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/0.5409, allocations: 375.5 kB / 0.7452 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.5411, allocations: 259.9 kB / 0.7454 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.5413, allocations: 138.7 kB / 0.7456 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.5415, allocations: 386.3 kB / 0.7459 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004298/0.5419, allocations: 234.2 kB / 0.7462 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005296/0.5425, allocations: 338.2 kB / 0.7465 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009799/0.5435, allocations: 0.5551 MB / 0.747 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.5435, allocations: 0 / 0.747 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001737/0.5452, allocations: 0.7549 MB / 0.7478 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.5453, allocations: 4 kB / 0.7478 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.5453, allocations: 3.984 kB / 0.7478 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006056/0.5459, allocations: 80.84 kB / 0.7479 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006203/0.5465, allocations: 152.8 kB / 0.748 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/0.5485, allocations: 1.524 MB / 0.7495 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006979/0.5492, allocations: 79.42 kB / 0.7496 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.984e-05/0.5493, allocations: 27.92 kB / 0.7496 GB, free: 4.516 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 (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 (81): * Single equations (assignments): 80 * 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.0004767/0.5498, allocations: 255.8 kB / 0.7498 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.5499, allocations: 87.7 kB / 0.7499 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/0.5522, allocations: 1.023 MB / 0.7509 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.5522, allocations: 8 kB / 0.7509 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.5522, allocations: 0 / 0.7509 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.5522, allocations: 3.984 kB / 0.7509 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003032/0.5553, allocations: 1.884 MB / 0.7528 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.5553, allocations: 4 kB / 0.7528 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005902/0.5559, allocations: 151.4 kB / 0.7529 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005709/0.5565, allocations: 92.73 kB / 0.753 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.869e-05/0.5566, allocations: 19.98 kB / 0.753 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002198/0.5588, allocations: 1.542 MB / 0.7545 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5588, allocations: 0 / 0.7545 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/0.5608, allocations: 0.9336 MB / 0.7554 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004386/0.5612, allocations: 259.8 kB / 0.7557 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.5614, allocations: 16 kB / 0.7557 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005844/0.562, allocations: 54.12 kB / 0.7558 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.5621, allocations: 68.84 kB / 0.7558 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.522e-05/0.5622, allocations: 27.98 kB / 0.7559 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005834/0.5628, allocations: 455 kB / 0.7563 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.81e-07/0.5628, allocations: 0 / 0.7563 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008976/0.5637, allocations: 287.3 kB / 0.7566 GB, free: 13.14 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 (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.003387/0.5671, allocations: 1.97 MB / 0.7585 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001591/0.5687, allocations: 0.7508 MB / 0.7592 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5687, allocations: 0 / 0.7592 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008372/0.5696, allocations: 0.4965 MB / 0.7597 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.5707, allocations: 261.8 kB / 0.76 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.5826, allocations: 6.628 MB / 0.7664 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/0.5833, allocations: 1.011 MB / 0.7674 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009018/0.5842, allocations: 254.5 kB / 0.7677 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004816/0.5847, allocations: 363.3 kB / 0.768 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of SimCode: time 8.92e-07/0.5847, allocations: 3.938 kB / 0.768 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4216/1.006, allocations: 19.48 MB / 0.787 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003487/1.007, allocations: 301.8 kB / 0.7873 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.656/3.663, allocations: 0 / 0.7873 GB, free: 14.02 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/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)