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.001015/0.001015, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7167/0.7167, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.57/1.57, allocations: 221.3 MB / 400.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008955/0.0008957, allocations: 90.3 kB / 483.3 MB, free: 5.863 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.068e-05/4.07e-05, allocations: 6.109 kB / 0.56 GB, free: 87.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1982, allocations: 82.3 MB / 0.6404 GB, free: 7.828 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.642/5.841, allocations: 1.696 GB / 2.337 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/5.841, allocations: 84.67 kB / 2.337 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1788/6.02, allocations: 84.11 MB / 2.419 GB, free: 123 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.064e-06/6.02, allocations: 0 / 2.419 GB, free: 123 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001474/6.02, allocations: 28 kB / 2.419 GB, free: 122.9 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.004022/6.024, allocations: 1.314 MB / 2.42 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/6.024, allocations: 8.031 kB / 2.42 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/6.026, allocations: 242 kB / 2.42 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/6.028, allocations: 0.7521 MB / 2.421 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/6.028, allocations: 116.2 kB / 2.421 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001824/6.028, allocations: 120 kB / 2.421 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002471/6.03, allocations: 1.231 MB / 2.422 GB, free: 119 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.312e-05/6.03, allocations: 0 / 2.422 GB, free: 119 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/6.031, allocations: 52 kB / 2.422 GB, free: 119 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.773e-05/6.031, allocations: 31.95 kB / 2.423 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002278/6.033, allocations: 1.34 MB / 2.424 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006883/6.04, allocations: 3.547 MB / 2.427 GB, free: 114 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/6.041, allocations: 0.8627 MB / 2.428 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005477/6.042, allocations: 355.1 kB / 2.428 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/6.042, allocations: 44.7 kB / 2.429 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008257/6.043, allocations: 0.5168 MB / 2.429 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=93): time 4.789e-06/6.043, allocations: 0 / 2.429 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=93): time 0.002161/6.045, allocations: 0.8826 MB / 2.43 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.478e-05/6.045, allocations: 244.1 kB / 2.43 GB, free: 111 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/6.046, allocations: 0.7035 MB / 2.431 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/6.046, allocations: 41.7 kB / 2.431 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004214/6.047, allocations: 0.5076 MB / 2.431 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002325/6.047, allocations: 307.5 kB / 2.432 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/6.047, allocations: 16 kB / 2.432 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.301e-05/6.047, allocations: 345.9 kB / 2.432 GB, free: 109 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000462/6.048, allocations: 286 kB / 2.432 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005363/6.048, allocations: 408.3 kB / 2.433 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005719/6.049, allocations: 356.8 kB / 2.433 GB, free: 108 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/6.049, allocations: 0 / 2.433 GB, free: 108 MB / 0.6823 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002045/6.051, allocations: 0.9306 MB / 2.434 GB, free: 107 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/6.051, allocations: 9.25 kB / 2.434 GB, free: 107 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/6.051, allocations: 0 / 2.434 GB, free: 107 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006277/6.052, allocations: 84.84 kB / 2.434 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007891/6.052, allocations: 183.8 kB / 2.434 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/6.054, allocations: 1.548 MB / 2.436 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008795/6.055, allocations: 103.1 kB / 2.436 GB, free: 105 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.776e-05/6.055, allocations: 39.97 kB / 2.436 GB, free: 104.9 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 () * 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.0002464/6.056, allocations: 148.9 kB / 2.436 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002582/6.056, allocations: 94.88 kB / 2.436 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00268/6.059, allocations: 1.266 MB / 2.437 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/6.059, allocations: 12 kB / 2.437 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/6.059, allocations: 4 kB / 2.437 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/6.059, allocations: 7.969 kB / 2.437 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003812/6.062, allocations: 2.423 MB / 2.44 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/6.062, allocations: 4 kB / 2.44 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006804/6.063, allocations: 175.8 kB / 2.44 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004823/6.064, allocations: 84.77 kB / 2.44 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.224e-05/6.064, allocations: 31.97 kB / 2.44 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/6.065, allocations: 1.559 MB / 2.441 GB, free: 98.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/6.065, allocations: 3.953 kB / 2.441 GB, free: 98.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/6.067, allocations: 1.07 MB / 2.443 GB, free: 97.81 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006869/6.068, allocations: 347.4 kB / 2.443 GB, free: 97.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002565/6.068, allocations: 23.94 kB / 2.443 GB, free: 97.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000846/6.069, allocations: 79.89 kB / 2.443 GB, free: 97.35 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/6.069, allocations: 72.95 kB / 2.443 GB, free: 97.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.993e-05/6.069, allocations: 47.91 kB / 2.443 GB, free: 97.23 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008661/6.07, allocations: 0.5812 MB / 2.444 GB, free: 96.65 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/6.07, allocations: 0 / 2.444 GB, free: 96.65 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001544/6.072, allocations: 438.7 kB / 2.444 GB, free: 96.22 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 (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.001997/6.074, allocations: 1.021 MB / 2.445 GB, free: 95.33 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001589/6.075, allocations: 0.89 MB / 2.446 GB, free: 94.43 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/6.075, allocations: 0 / 2.446 GB, free: 94.43 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007385/6.076, allocations: 0.5549 MB / 2.446 GB, free: 93.86 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/6.077, allocations: 251.7 kB / 2.447 GB, free: 93.62 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003931/6.081, allocations: 1.718 MB / 2.448 GB, free: 91.87 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/6.082, allocations: 1.15 MB / 2.449 GB, free: 90.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009694/6.083, allocations: 287.6 kB / 2.45 GB, free: 90.41 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/6.083, allocations: 123.4 kB / 2.45 GB, free: 90.29 MB / 0.6823 GB Notification: Performance of SimCode: time 9.21e-07/6.083, allocations: 0 / 2.45 GB, free: 90.29 MB / 0.6823 GB Notification: Performance of Templates: time 0.03734/6.121, allocations: 24.9 MB / 2.474 GB, free: 65.47 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)