Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_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.0008495/0.0008495, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005284/0.005284, allocations: 171.3 kB / 16.27 MB, free: 6.648 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.213/1.213, allocations: 223.2 MB / 240.3 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7033/0.7033, allocations: 132.3 MB / 423.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002666/0.0002665, allocations: 8.562 kB / 0.5041 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3331, allocations: 81.57 MB / 0.5837 GB, free: 4.289 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.004199/0.3373, allocations: 4.486 MB / 0.5881 GB, free: 1.027 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1401/0.4774, allocations: 147 MB / 0.7317 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005043/0.478, allocations: 19.88 kB / 0.7317 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004266/0.4784, allocations: 150.8 kB / 0.7318 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.4795, allocations: 0.4962 MB / 0.7323 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.4809, allocations: 0.7688 MB / 0.7331 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001133/0.4821, allocations: 1.479 MB / 0.7345 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.4832, allocations: 0.9971 MB / 0.7355 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004603/0.4836, allocations: 469.4 kB / 0.7359 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005013/0.4841, allocations: 0.4969 MB / 0.7364 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.759e-05/0.4842, allocations: 28 kB / 0.7364 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005494/0.4848, allocations: 375.6 kB / 0.7368 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.485, allocations: 238.7 kB / 0.737 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004115/0.4854, allocations: 0.5953 MB / 0.7376 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.4869, allocations: 1.974 MB / 0.7395 GB, free: 440 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.487, allocations: 0 / 0.7395 GB, free: 440 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.272e-06/0.487, allocations: 0 / 0.7395 GB, free: 440 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.487, allocations: 0 / 0.7395 GB, free: 440 kB / 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.002267/0.4893, allocations: 1.471 MB / 0.741 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.4893, allocations: 8.031 kB / 0.741 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002115/0.4895, allocations: 215.3 kB / 0.7412 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008665/0.4904, allocations: 242.8 kB / 0.7414 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.4914, allocations: 0.8835 MB / 0.7423 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.075e-05/0.4915, allocations: 102.9 kB / 0.7424 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.4917, allocations: 140 kB / 0.7425 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/0.4938, allocations: 1.436 MB / 0.7439 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.4939, allocations: 0 / 0.7439 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.494, allocations: 60 kB / 0.744 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/0.494, allocations: 36 kB / 0.744 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002233/0.4963, allocations: 1.525 MB / 0.7455 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00515/0.5014, allocations: 3.814 MB / 0.7492 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.5029, allocations: 0.9612 MB / 0.7502 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006188/0.5035, allocations: 415.6 kB / 0.7505 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-05/0.5036, allocations: 45 kB / 0.7506 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009241/0.5046, allocations: 0.5864 MB / 0.7512 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=104): time 3.627e-06/0.5046, allocations: 0 / 0.7512 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of matching and sorting (n=104): time 0.0033/0.5079, allocations: 1.489 MB / 0.7526 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.95e-05/0.508, allocations: 193 kB / 0.7528 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008144/0.5088, allocations: 0.7745 MB / 0.7536 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.861e-05/0.5089, allocations: 41.7 kB / 0.7536 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003381/0.5092, allocations: 0.5543 MB / 0.7541 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/0.5095, allocations: 347 kB / 0.7545 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.5096, allocations: 73.67 kB / 0.7545 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.5097, allocations: 345.9 kB / 0.7549 GB, free: 344 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005997/0.5103, allocations: 341.8 kB / 0.7552 GB, free: 0 / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006984/0.511, allocations: 466.5 kB / 0.7556 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.5124, allocations: 0.8156 MB / 0.7564 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5124, allocations: 4 kB / 0.7564 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002095/0.5145, allocations: 1.067 MB / 0.7575 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.5145, allocations: 11.94 kB / 0.7575 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.5145, allocations: 4.062 kB / 0.7575 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005809/0.5151, allocations: 80.77 kB / 0.7576 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008928/0.516, allocations: 219.7 kB / 0.7578 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/0.5178, allocations: 1.536 MB / 0.7593 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006877/0.5185, allocations: 122.7 kB / 0.7594 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.116e-05/0.5186, allocations: 43.97 kB / 0.7594 GB, free: 11.46 MB / 0.5919 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.0004029/0.519, allocations: 311.9 kB / 0.7597 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.5191, allocations: 98.78 kB / 0.7598 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002879/0.522, allocations: 1.396 MB / 0.7612 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/0.522, allocations: 12 kB / 0.7612 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.522, allocations: 0 / 0.7612 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.522, allocations: 7.922 kB / 0.7612 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003646/0.5257, allocations: 2.578 MB / 0.7637 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.5257, allocations: 0 / 0.7637 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007569/0.5265, allocations: 195.7 kB / 0.7639 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004949/0.527, allocations: 88.77 kB / 0.764 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.896e-05/0.5271, allocations: 31.97 kB / 0.764 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001624/0.5287, allocations: 1.567 MB / 0.7656 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5287, allocations: 3.938 kB / 0.7656 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002024/0.5307, allocations: 1.179 MB / 0.7667 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003722/0.5311, allocations: 351.2 kB / 0.7671 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.5312, allocations: 24 kB / 0.7671 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006973/0.5319, allocations: 67.94 kB / 0.7671 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.5321, allocations: 76.89 kB / 0.7672 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.871e-05/0.5322, allocations: 43.97 kB / 0.7673 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006357/0.5328, allocations: 0.5732 MB / 0.7678 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5328, allocations: 0 / 0.7678 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008142/0.5336, allocations: 398.6 kB / 0.7682 GB, free: 2.234 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.003381/0.537, allocations: 2.232 MB / 0.7704 GB, free: 188 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001691/0.5387, allocations: 0.9993 MB / 0.7714 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5387, allocations: 4 kB / 0.7714 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009484/0.5397, allocations: 0.6134 MB / 0.772 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.5409, allocations: 286.5 kB / 0.7722 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/0.5545, allocations: 9.224 MB / 0.7812 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006234/0.5552, allocations: 1.166 MB / 0.7824 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008413/0.556, allocations: 296.3 kB / 0.7827 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006797/0.5567, allocations: 0.5461 MB / 0.7832 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.5567, allocations: 0 / 0.7832 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4738/1.031, allocations: 24.65 MB / 0.8073 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002165/1.031, allocations: 287.3 kB / 0.8075 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.332/3.363, allocations: 3.938 kB / 0.8075 GB, free: 10.12 MB / 0.6387 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)