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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001193, allocations: 173.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7468/0.7468, allocations: 133.6 MB / 141.6 MB, free: 2.93 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 221.5 MB / 395.5 MB, free: 10.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008817/0.0008815, allocations: 103.6 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.299e-05/2.302e-05, allocations: 4 kB / 0.5535 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5257/0.5257, allocations: 82.3 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.515/5.04, allocations: 1.695 GB / 2.328 GB, free: 78.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/5.041, allocations: 84.7 kB / 2.329 GB, free: 78.62 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7876/5.828, allocations: 93.47 MB / 2.42 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.825e-06/5.828, allocations: 0 / 2.42 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001145/5.829, allocations: 33.19 kB / 2.42 GB, free: 226.1 MB / 0.6823 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.003044/5.832, allocations: 1.4 MB / 2.421 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.287e-05/5.832, allocations: 14.22 kB / 2.421 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/5.833, allocations: 246.4 kB / 2.421 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/5.834, allocations: 0.778 MB / 2.422 GB, free: 225 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.449e-05/5.834, allocations: 46.84 kB / 2.422 GB, free: 225 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/5.834, allocations: 80.47 kB / 2.422 GB, free: 225 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002014/5.836, allocations: 1.378 MB / 2.424 GB, free: 225 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/5.838, allocations: 1.176 MB / 2.425 GB, free: 224.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/5.838, allocations: 0 / 2.425 GB, free: 224.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.499e-05/5.838, allocations: 0 / 2.425 GB, free: 224.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.652e-05/5.838, allocations: 36.81 kB / 2.425 GB, free: 224.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005659/5.844, allocations: 3.558 MB / 2.428 GB, free: 224 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/5.845, allocations: 0.8578 MB / 2.429 GB, free: 224 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004534/5.846, allocations: 353 kB / 2.43 GB, free: 224 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/5.846, allocations: 47.61 kB / 2.43 GB, free: 224 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007943/5.847, allocations: 0.5332 MB / 2.43 GB, free: 223.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=104): time 3.617e-06/5.847, allocations: 0 / 2.43 GB, free: 223.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=104): time 0.002069/5.849, allocations: 0.9057 MB / 2.431 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.083e-05/5.849, allocations: 248 kB / 2.431 GB, free: 223.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007899/5.85, allocations: 0.5834 MB / 2.432 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.57e-05/5.85, allocations: 29.64 kB / 2.432 GB, free: 223.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004277/5.85, allocations: 0.5708 MB / 2.432 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/5.85, allocations: 325.2 kB / 2.433 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/5.851, allocations: 0 / 2.433 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001435/5.851, allocations: 396.3 kB / 2.433 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004381/5.851, allocations: 297.6 kB / 2.433 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005162/5.852, allocations: 421.4 kB / 2.434 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005841/5.852, allocations: 369.8 kB / 2.434 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/5.852, allocations: 3.875 kB / 2.434 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002037/5.854, allocations: 0.9562 MB / 2.435 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/5.854, allocations: 3.938 kB / 2.435 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/5.854, allocations: 0 / 2.435 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006039/5.855, allocations: 86.61 kB / 2.435 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009055/5.856, allocations: 211.9 kB / 2.435 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/5.858, allocations: 1.471 MB / 2.437 GB, free: 221.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000952/5.859, allocations: 78.77 kB / 2.437 GB, free: 221 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.212e-05/5.859, allocations: 40.53 kB / 2.437 GB, free: 221 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * 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.0002292/5.859, allocations: 127.5 kB / 2.437 GB, free: 220.9 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001953/5.861, allocations: 0.9157 MB / 2.438 GB, free: 220.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/5.861, allocations: 93.88 kB / 2.438 GB, free: 220.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002708/5.864, allocations: 1.287 MB / 2.439 GB, free: 220.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/5.864, allocations: 14.22 kB / 2.439 GB, free: 220.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/5.864, allocations: 0 / 2.439 GB, free: 220.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/5.864, allocations: 11.31 kB / 2.439 GB, free: 220.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00374/5.868, allocations: 2.331 MB / 2.442 GB, free: 220.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/5.868, allocations: 0 / 2.442 GB, free: 220.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008029/5.868, allocations: 191.6 kB / 2.442 GB, free: 220.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000499/5.869, allocations: 87.97 kB / 2.442 GB, free: 220.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-05/5.869, allocations: 16.45 kB / 2.442 GB, free: 220.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001543/5.871, allocations: 1.499 MB / 2.443 GB, free: 219 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/5.871, allocations: 0 / 2.443 GB, free: 219 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/5.873, allocations: 1.069 MB / 2.444 GB, free: 218.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005664/5.873, allocations: 351.8 kB / 2.445 GB, free: 218.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/5.873, allocations: 5.875 kB / 2.445 GB, free: 218.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006578/5.874, allocations: 49.77 kB / 2.445 GB, free: 218.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/5.874, allocations: 78.84 kB / 2.445 GB, free: 218.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.82e-05/5.874, allocations: 38.02 kB / 2.445 GB, free: 218.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00069/5.875, allocations: 0.5002 MB / 2.445 GB, free: 218.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.924e-06/5.875, allocations: 0 / 2.445 GB, free: 218.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001538/5.876, allocations: 439.7 kB / 2.446 GB, free: 218.4 MB / 0.6823 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) * 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 (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.003953/5.88, allocations: 2.582 MB / 2.448 GB, free: 217.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001585/5.882, allocations: 0.9073 MB / 2.449 GB, free: 216.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/5.882, allocations: 0 / 2.449 GB, free: 216.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007815/5.883, allocations: 0.5589 MB / 2.45 GB, free: 216.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/5.884, allocations: 224.1 kB / 2.45 GB, free: 216.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005404/5.89, allocations: 2.033 MB / 2.452 GB, free: 215.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006951/5.89, allocations: 1.191 MB / 2.453 GB, free: 215.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001032/5.891, allocations: 292 kB / 2.453 GB, free: 215.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007006/5.892, allocations: 0.5349 MB / 2.454 GB, free: 214.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.042e-06/5.892, allocations: 4 kB / 2.454 GB, free: 214.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.065/5.957, allocations: 28.76 MB / 2.482 GB, free: 196.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/5.957, allocations: 184.5 kB / 2.482 GB, free: 196.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.13/9.087, allocations: 0 / 2.482 GB, free: 196.4 MB / 0.6823 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/linux/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)