Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_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.001004/0.001003, allocations: 172.5 kB / 7.647 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.7516/0.7516, allocations: 133.6 MB / 141.6 MB, free: 2.871 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.561/1.561, allocations: 221.5 MB / 395.4 MB, free: 10.76 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.0009033/0.0009033, allocations: 102.2 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.648e-05/1.652e-05, allocations: 0 / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5145/0.5145, allocations: 82.3 MB / 0.6339 GB, free: 40.7 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.702/5.217, allocations: 1.695 GB / 2.328 GB, free: 42.16 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/5.217, allocations: 87.83 kB / 2.329 GB, free: 42.11 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.6652/5.882, allocations: 93.47 MB / 2.42 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.923e-06/5.882, allocations: 0 / 2.42 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001317/5.883, allocations: 30.09 kB / 2.42 GB, free: 226.8 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.003202/5.886, allocations: 1.4 MB / 2.421 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/5.886, allocations: 12.09 kB / 2.421 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/5.887, allocations: 246.8 kB / 2.421 GB, free: 225.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/5.888, allocations: 0.7742 MB / 2.422 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.546e-05/5.888, allocations: 49 kB / 2.422 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/5.888, allocations: 78.47 kB / 2.422 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001868/5.89, allocations: 1.379 MB / 2.424 GB, free: 225 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/5.892, allocations: 1.173 MB / 2.425 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/5.892, allocations: 0 / 2.425 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.511e-05/5.892, allocations: 7.734 kB / 2.425 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/5.892, allocations: 35.19 kB / 2.425 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005156/5.897, allocations: 3.562 MB / 2.428 GB, free: 223 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/5.898, allocations: 0.8547 MB / 2.429 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004233/5.899, allocations: 348.7 kB / 2.43 GB, free: 221.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/5.899, allocations: 48.41 kB / 2.43 GB, free: 221.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006911/5.9, allocations: 0.5294 MB / 2.43 GB, free: 221.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=104): time 3.016e-06/5.9, allocations: 0 / 2.43 GB, free: 221.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=104): time 0.001781/5.901, allocations: 0.9068 MB / 2.431 GB, free: 220.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.369e-05/5.902, allocations: 252.6 kB / 2.431 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006789/5.902, allocations: 0.5818 MB / 2.432 GB, free: 219.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.899e-05/5.902, allocations: 25.7 kB / 2.432 GB, free: 219.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/5.903, allocations: 0.573 MB / 2.432 GB, free: 218.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/5.903, allocations: 327.7 kB / 2.433 GB, free: 218.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/5.903, allocations: 0 / 2.433 GB, free: 218.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001198/5.903, allocations: 390.7 kB / 2.433 GB, free: 218.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/5.903, allocations: 298.6 kB / 2.433 GB, free: 217.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004601/5.904, allocations: 426 kB / 2.434 GB, free: 217.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005093/5.904, allocations: 371.7 kB / 2.434 GB, free: 217.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/5.904, allocations: 3.938 kB / 2.434 GB, free: 217.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001654/5.906, allocations: 0.951 MB / 2.435 GB, free: 216.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/5.906, allocations: 13.86 kB / 2.435 GB, free: 216.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/5.906, allocations: 0 / 2.435 GB, free: 216.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005867/5.907, allocations: 83.3 kB / 2.435 GB, free: 216 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008593/5.908, allocations: 214.4 kB / 2.435 GB, free: 215.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/5.909, allocations: 1.474 MB / 2.437 GB, free: 214.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006976/5.91, allocations: 82.12 kB / 2.437 GB, free: 214.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.542e-05/5.91, allocations: 35.97 kB / 2.437 GB, free: 214.2 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.0001881/5.91, allocations: 128.3 kB / 2.437 GB, free: 214 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001593/5.912, allocations: 0.9132 MB / 2.438 GB, free: 213.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/5.912, allocations: 94.53 kB / 2.438 GB, free: 213 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002466/5.914, allocations: 1.283 MB / 2.439 GB, free: 211.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/5.914, allocations: 12 kB / 2.439 GB, free: 211.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/5.914, allocations: 0 / 2.439 GB, free: 211.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/5.914, allocations: 11.92 kB / 2.439 GB, free: 211.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003557/5.918, allocations: 2.332 MB / 2.442 GB, free: 209.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/5.918, allocations: 0 / 2.442 GB, free: 209.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/5.919, allocations: 198.2 kB / 2.442 GB, free: 209.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006413/5.92, allocations: 83.19 kB / 2.442 GB, free: 209.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.365e-05/5.92, allocations: 19.97 kB / 2.442 GB, free: 209.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/5.922, allocations: 1.498 MB / 2.443 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/5.922, allocations: 0 / 2.443 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/5.924, allocations: 1.064 MB / 2.444 GB, free: 206.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005615/5.924, allocations: 351.3 kB / 2.445 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/5.925, allocations: 0 / 2.445 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007681/5.925, allocations: 50.48 kB / 2.445 GB, free: 206 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/5.926, allocations: 85.19 kB / 2.445 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-05/5.926, allocations: 39.98 kB / 2.445 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006139/5.926, allocations: 0.4991 MB / 2.445 GB, free: 205.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.9e-07/5.926, allocations: 0 / 2.445 GB, free: 205.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001397/5.928, allocations: 433.2 kB / 2.446 GB, free: 205 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.003655/5.931, allocations: 2.59 MB / 2.448 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001463/5.933, allocations: 0.9024 MB / 2.449 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/5.933, allocations: 6.344 kB / 2.449 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000708/5.934, allocations: 0.5594 MB / 2.45 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/5.935, allocations: 236.6 kB / 2.45 GB, free: 201 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004499/5.939, allocations: 2.009 MB / 2.452 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005416/5.94, allocations: 1.189 MB / 2.453 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000918/5.941, allocations: 295.7 kB / 2.453 GB, free: 197.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006426/5.941, allocations: 0.5421 MB / 2.454 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of SimCode: time 7.12e-07/5.941, allocations: 0 / 2.454 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05717/5.999, allocations: 28.76 MB / 2.482 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002877/5.999, allocations: 187.8 kB / 2.482 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.007/9.006, allocations: 3.938 kB / 2.482 GB, free: 168.3 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)