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.004514/0.004514, allocations: 100 kB / 15.73 MB, free: 6.055 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.00119/0.00119, allocations: 190.3 kB / 16.67 MB, free: 5.969 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7926/0.7926, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 69.92 kB / 0.5809 GB, free: 24.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1297, allocations: 80.2 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005711/0.1354, allocations: 4.175 MB / 0.6633 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4429/0.5783, allocations: 150.6 MB / 0.8104 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006294/0.579, allocations: 24 kB / 0.8104 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004972/0.5795, allocations: 161.4 kB / 0.8105 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001295/0.5808, allocations: 0.4884 MB / 0.811 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.5823, allocations: 0.789 MB / 0.8118 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009018/0.5832, allocations: 1.225 MB / 0.813 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006916/0.5839, allocations: 0.6054 MB / 0.8136 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004379/0.5843, allocations: 450.6 kB / 0.814 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004318/0.5848, allocations: 461.3 kB / 0.8144 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.5849, allocations: 104.8 kB / 0.8145 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006781/0.5856, allocations: 484.3 kB / 0.815 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002051/0.5858, allocations: 274.7 kB / 0.8153 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000359/0.5862, allocations: 0.4996 MB / 0.8158 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001427/0.5876, allocations: 1.513 MB / 0.8172 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.5876, allocations: 0 / 0.8172 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5876, allocations: 0 / 0.8172 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.909e-05/0.5876, allocations: 5.766 kB / 0.8172 GB, free: 9.723 MB / 0.5919 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.00205/0.5897, allocations: 1.38 MB / 0.8186 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.5897, allocations: 10.16 kB / 0.8186 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/0.5899, allocations: 132.4 kB / 0.8187 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008454/0.5907, allocations: 186.2 kB / 0.8189 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.5917, allocations: 0.7401 MB / 0.8196 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.923e-05/0.5918, allocations: 60.91 kB / 0.8197 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.648e-05/0.5919, allocations: 76.06 kB / 0.8198 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.5933, allocations: 0.8893 MB / 0.8206 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.5933, allocations: 4.312 kB / 0.8206 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-05/0.5934, allocations: 39.69 kB / 0.8207 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.5934, allocations: 19.78 kB / 0.8207 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.595, allocations: 1.093 MB / 0.8218 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003527/0.5986, allocations: 2.474 MB / 0.8242 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.5998, allocations: 0.7386 MB / 0.8249 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004675/0.6003, allocations: 285.8 kB / 0.8252 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.906e-05/0.6003, allocations: 31.64 kB / 0.8252 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007252/0.6011, allocations: 453 kB / 0.8256 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.204e-06/0.6011, allocations: 0 / 0.8256 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.002849/0.6039, allocations: 1.123 MB / 0.8267 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.6041, allocations: 190.7 kB / 0.8269 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006803/0.6048, allocations: 0.5967 MB / 0.8275 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.729e-05/0.6048, allocations: 38.02 kB / 0.8275 GB, free: 3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/0.6051, allocations: 385.7 kB / 0.8279 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.6053, allocations: 265.7 kB / 0.8281 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002132/0.6056, allocations: 143 kB / 0.8283 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.6058, allocations: 391.8 kB / 0.8287 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000442/0.6062, allocations: 225.9 kB / 0.8289 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005472/0.6068, allocations: 332.8 kB / 0.8292 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.6078, allocations: 0.5616 MB / 0.8297 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6078, allocations: 1.938 kB / 0.8297 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001701/0.6095, allocations: 0.7606 MB / 0.8305 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.6095, allocations: 4.938 kB / 0.8305 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.6095, allocations: 0 / 0.8305 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005822/0.6101, allocations: 82.56 kB / 0.8306 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005788/0.6107, allocations: 147.7 kB / 0.8307 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.6129, allocations: 1.636 MB / 0.8323 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005497/0.6134, allocations: 75.66 kB / 0.8324 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-05/0.6135, allocations: 31.66 kB / 0.8324 GB, free: 15.21 MB / 0.6075 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.0003622/0.6139, allocations: 255.4 kB / 0.8327 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.614, allocations: 89.38 kB / 0.8327 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002217/0.6162, allocations: 1.026 MB / 0.8337 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.6162, allocations: 7.5 kB / 0.8337 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.6163, allocations: 7.984 kB / 0.8338 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.6163, allocations: 6.078 kB / 0.8338 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002963/0.6192, allocations: 1.889 MB / 0.8356 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6193, allocations: 0 / 0.8356 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005494/0.6198, allocations: 146.9 kB / 0.8357 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004367/0.6203, allocations: 74.53 kB / 0.8358 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.385e-05/0.6203, allocations: 25.2 kB / 0.8358 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001878/0.6222, allocations: 1.654 MB / 0.8375 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.6222, allocations: 3.938 kB / 0.8375 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.624, allocations: 0.9383 MB / 0.8384 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003096/0.6243, allocations: 261.5 kB / 0.8386 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.6244, allocations: 16.88 kB / 0.8386 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005529/0.625, allocations: 53.16 kB / 0.8387 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.6251, allocations: 63.12 kB / 0.8388 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.036e-05/0.6252, allocations: 35.48 kB / 0.8388 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005041/0.6257, allocations: 442.1 kB / 0.8392 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6257, allocations: 2.562 kB / 0.8392 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007471/0.6265, allocations: 292.4 kB / 0.8395 GB, free: 10.21 MB / 0.6075 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.003772/0.6303, allocations: 1.978 MB / 0.8414 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001509/0.6318, allocations: 0.761 MB / 0.8422 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.6318, allocations: 2.719 kB / 0.8422 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008471/0.6326, allocations: 0.4885 MB / 0.8426 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.6338, allocations: 309.2 kB / 0.8429 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.6441, allocations: 6.076 MB / 0.8489 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006343/0.6448, allocations: 1.011 MB / 0.8499 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007273/0.6455, allocations: 250.5 kB / 0.8501 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005144/0.646, allocations: 359.3 kB / 0.8504 GB, free: 380 kB / 0.6075 GB Notification: Performance of SimCode: time 4.91e-07/0.646, allocations: 0 / 0.8504 GB, free: 380 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6334/1.279, allocations: 20.4 MB / 0.8704 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/14.45, allocations: 11.06 kB / 0.8704 GB, free: 12.25 MB / 0.6387 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)