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.0009228/0.0009228, allocations: 98.38 kB / 15.05 MB, free: 1.105 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.0008981/0.0008981, allocations: 177.3 kB / 15.94 MB, free: 228 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.218/1.218, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6953/0.6953, allocations: 132.3 MB / 423.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003454, allocations: 10.19 kB / 0.5033 GB, free: 4.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3916, allocations: 81.57 MB / 0.583 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.003926/0.3956, allocations: 3.521 MB / 0.5864 GB, free: 1.504 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1522/0.5478, allocations: 127.6 MB / 0.711 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004282/0.5483, allocations: 11.94 kB / 0.711 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.5486, allocations: 75.33 kB / 0.7111 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001092/0.5497, allocations: 477 kB / 0.7115 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.5511, allocations: 0.6022 MB / 0.7121 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000832/0.5519, allocations: 0.752 MB / 0.7129 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006046/0.5525, allocations: 483.1 kB / 0.7133 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000387/0.5529, allocations: 318.6 kB / 0.7136 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003556/0.5533, allocations: 310.4 kB / 0.7139 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.988e-05/0.5534, allocations: 24 kB / 0.7139 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005224/0.5539, allocations: 299.6 kB / 0.7142 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.5541, allocations: 167.3 kB / 0.7144 GB, free: 9.676 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.5542, allocations: 181.1 kB / 0.7146 GB, free: 9.492 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00099/0.5552, allocations: 1.087 MB / 0.7156 GB, free: 8.402 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.5552, allocations: 0 / 0.7156 GB, free: 8.402 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5553, allocations: 0 / 0.7156 GB, free: 8.402 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.5553, allocations: 0 / 0.7156 GB, free: 8.402 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001816/0.5571, allocations: 1.147 MB / 0.7167 GB, free: 7.207 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.5571, allocations: 15.97 kB / 0.7168 GB, free: 7.191 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001547/0.5573, allocations: 135.1 kB / 0.7169 GB, free: 7.051 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008108/0.5581, allocations: 198.4 kB / 0.7171 GB, free: 6.855 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009529/0.5591, allocations: 0.6836 MB / 0.7177 GB, free: 6.125 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.599e-05/0.5591, allocations: 62 kB / 0.7178 GB, free: 6.066 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.4e-05/0.5592, allocations: 76 kB / 0.7179 GB, free: 5.992 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.5605, allocations: 0.8793 MB / 0.7187 GB, free: 5.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.5606, allocations: 0 / 0.7187 GB, free: 5.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-05/0.5607, allocations: 32 kB / 0.7188 GB, free: 5.039 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.5607, allocations: 27.98 kB / 0.7188 GB, free: 5.012 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/0.5623, allocations: 1.093 MB / 0.7199 GB, free: 3.918 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003643/0.5659, allocations: 2.54 MB / 0.7223 GB, free: 1.309 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.5672, allocations: 0.7465 MB / 0.7231 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.226e-05/0.5673, allocations: 32.59 kB / 0.7231 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007142/0.568, allocations: 439.3 kB / 0.7235 GB, free: 80 kB / 0.545 GB Notification: Performance of pre-optimization done (n=76): time 1.784e-06/0.568, allocations: 0 / 0.7235 GB, free: 80 kB / 0.545 GB Notification: Performance of matching and sorting (n=76): time 0.002733/0.5707, allocations: 1.132 MB / 0.7246 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.642e-05/0.5708, allocations: 188.6 kB / 0.7248 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000665/0.5715, allocations: 0.5862 MB / 0.7254 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.814e-05/0.5716, allocations: 37.7 kB / 0.7254 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002631/0.5719, allocations: 384.2 kB / 0.7258 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.572, allocations: 256.3 kB / 0.726 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.5721, allocations: 8 kB / 0.726 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.5723, allocations: 386.8 kB / 0.7264 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004303/0.5727, allocations: 225.9 kB / 0.7266 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005113/0.5732, allocations: 342.2 kB / 0.7269 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004867/0.5737, allocations: 279.1 kB / 0.7272 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5737, allocations: 0 / 0.7272 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001589/0.5753, allocations: 0.7666 MB / 0.728 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.5754, allocations: 8 kB / 0.728 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.5754, allocations: 0 / 0.728 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005467/0.5759, allocations: 80.83 kB / 0.728 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006207/0.5766, allocations: 151.8 kB / 0.7282 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/0.5786, allocations: 1.544 MB / 0.7297 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005791/0.5792, allocations: 87.17 kB / 0.7298 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.769e-05/0.5793, allocations: 31.98 kB / 0.7298 GB, free: 9.371 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 (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.0004192/0.5797, allocations: 257.6 kB / 0.7301 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.5799, allocations: 75.06 kB / 0.7301 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002222/0.5821, allocations: 1.045 MB / 0.7311 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.5821, allocations: 8 kB / 0.7312 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.5821, allocations: 7.891 kB / 0.7312 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.5821, allocations: 3.984 kB / 0.7312 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003029/0.5852, allocations: 1.884 MB / 0.733 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.5852, allocations: 0 / 0.733 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005777/0.5858, allocations: 155.8 kB / 0.7332 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004595/0.5862, allocations: 80.78 kB / 0.7332 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.764e-05/0.5863, allocations: 23.98 kB / 0.7332 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/0.588, allocations: 1.559 MB / 0.7348 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.588, allocations: 0 / 0.7348 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.5896, allocations: 0.9375 MB / 0.7357 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003569/0.59, allocations: 271.8 kB / 0.7359 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.5901, allocations: 20 kB / 0.736 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005522/0.5906, allocations: 67.94 kB / 0.736 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.5907, allocations: 68.86 kB / 0.7361 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.905e-05/0.5908, allocations: 27.98 kB / 0.7361 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005009/0.5913, allocations: 439 kB / 0.7365 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.354e-06/0.5913, allocations: 0 / 0.7365 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000776/0.5921, allocations: 295.2 kB / 0.7368 GB, free: 1.922 MB / 0.5606 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.003011/0.5951, allocations: 1.971 MB / 0.7387 GB, free: 136 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001385/0.5965, allocations: 0.7552 MB / 0.7395 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5965, allocations: 4 kB / 0.7395 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007783/0.5973, allocations: 0.4885 MB / 0.74 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009357/0.5983, allocations: 245 kB / 0.7402 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008672/0.607, allocations: 5.193 MB / 0.7453 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006528/0.6077, allocations: 1.027 MB / 0.7463 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008541/0.6085, allocations: 250.5 kB / 0.7465 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005073/0.609, allocations: 367.3 kB / 0.7469 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of SimCode: time 2.545e-06/0.6091, allocations: 0 / 0.7469 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.673/3.282, allocations: 20.27 MB / 0.7667 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003198/3.283, allocations: 278.7 kB / 0.7669 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.229/6.511, allocations: 0 / 0.7669 GB, free: 3.508 MB / 0.5919 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: