Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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: translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007115/0.007115, allocations: 170.3 kB / 15.11 MB, free: 6.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7756/0.7756, allocations: 135.2 MB / 151.1 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 223.2 MB / 406.9 MB, free: 3.207 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.001045/0.001045, allocations: 100.2 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003465, allocations: 12 kB / 0.5691 GB, free: 14.15 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4651/0.4654, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.234/4.699, allocations: 1.696 GB / 2.346 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003652/4.7, allocations: 94.39 kB / 2.346 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1772/4.877, allocations: 84.41 MB / 2.428 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.639e-06/4.877, allocations: 0 / 2.428 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001068/4.877, allocations: 29.38 kB / 2.428 GB, free: 162.3 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.003372/4.88, allocations: 1.449 MB / 2.43 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.931e-05/4.88, allocations: 11.62 kB / 2.43 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/4.882, allocations: 227.9 kB / 2.43 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/4.883, allocations: 0.7447 MB / 2.431 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/4.883, allocations: 127.7 kB / 2.431 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/4.883, allocations: 131.5 kB / 2.431 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/4.885, allocations: 1.26 MB / 2.432 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/4.885, allocations: 3.938 kB / 2.432 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/4.885, allocations: 52 kB / 2.432 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/4.886, allocations: 34.39 kB / 2.432 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001923/4.887, allocations: 1.391 MB / 2.433 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00533/4.893, allocations: 3.558 MB / 2.437 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/4.894, allocations: 0.911 MB / 2.438 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/4.894, allocations: 49.31 kB / 2.438 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008937/4.895, allocations: 0.5523 MB / 2.438 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=93): time 3.296e-06/4.895, allocations: 0 / 2.438 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=93): time 0.003294/4.899, allocations: 1.393 MB / 2.44 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.488e-05/4.899, allocations: 244.3 kB / 2.44 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009405/4.9, allocations: 0.7071 MB / 2.441 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.006e-05/4.9, allocations: 49.64 kB / 2.441 GB, free: 154 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003649/4.9, allocations: 0.5039 MB / 2.441 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/4.9, allocations: 307.5 kB / 2.442 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/4.9, allocations: 20 kB / 2.442 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.879e-05/4.9, allocations: 334 kB / 2.442 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004832/4.901, allocations: 309.8 kB / 2.442 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005572/4.901, allocations: 436.2 kB / 2.443 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005551/4.902, allocations: 378.8 kB / 2.443 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.247e-06/4.902, allocations: 0 / 2.443 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001875/4.904, allocations: 0.9736 MB / 2.444 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/4.904, allocations: 4 kB / 2.444 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/4.904, allocations: 0 / 2.444 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005898/4.905, allocations: 88.83 kB / 2.444 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007616/4.905, allocations: 195.6 kB / 2.444 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/4.907, allocations: 1.539 MB / 2.446 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009542/4.908, allocations: 103.1 kB / 2.446 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-05/4.908, allocations: 39.97 kB / 2.446 GB, free: 148.6 MB / 0.6823 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 (102): * Single equations (assignments): 101 * 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.000747/4.909, allocations: 307 kB / 2.446 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/4.909, allocations: 94.78 kB / 2.446 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002574/4.912, allocations: 1.313 MB / 2.447 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/4.912, allocations: 12 kB / 2.447 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/4.912, allocations: 3.984 kB / 2.447 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/4.912, allocations: 3.984 kB / 2.448 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003571/4.915, allocations: 2.47 MB / 2.45 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/4.915, allocations: 0 / 2.45 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006946/4.916, allocations: 187.7 kB / 2.45 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004992/4.917, allocations: 80.78 kB / 2.45 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-05/4.917, allocations: 31.97 kB / 2.45 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/4.918, allocations: 1.567 MB / 2.452 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/4.918, allocations: 0 / 2.452 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00204/4.92, allocations: 1.117 MB / 2.453 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005914/4.921, allocations: 351.3 kB / 2.453 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/4.921, allocations: 27.95 kB / 2.453 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007141/4.922, allocations: 79.94 kB / 2.453 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/4.922, allocations: 69.17 kB / 2.453 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.661e-05/4.922, allocations: 39.98 kB / 2.453 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007532/4.923, allocations: 0.5927 MB / 2.454 GB, free: 140 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.81e-07/4.923, allocations: 3.938 kB / 2.454 GB, free: 140 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00139/4.924, allocations: 442.7 kB / 2.454 GB, free: 139.6 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * 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.002086/4.926, allocations: 1.063 MB / 2.455 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001894/4.928, allocations: 0.9367 MB / 2.456 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/4.928, allocations: 4 kB / 2.456 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009251/4.929, allocations: 0.5744 MB / 2.457 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/4.93, allocations: 261.4 kB / 2.457 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005006/4.936, allocations: 2.728 MB / 2.46 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005475/4.936, allocations: 1.146 MB / 2.461 GB, free: 133 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001152/4.937, allocations: 291.6 kB / 2.461 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003058/4.938, allocations: 123.4 kB / 2.461 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of SimCode: time 2.435e-06/4.938, allocations: 0 / 2.461 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.03326/4.971, allocations: 23.25 MB / 2.484 GB, free: 109.5 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)