Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7977/0.7977, allocations: 141.8 MB / 149.3 MB, free: 9.215 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 172.9 kB / 182.2 MB, free: 9.438 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.59/1.59, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.001128/0.001128, allocations: 95.14 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002294/0.002294, allocations: 280.4 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.958e-05/1.96e-05, allocations: 0 / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.54/0.5401, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.942/4.483, allocations: 1.691 GB / 2.448 GB, free: 59.87 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/4.483, allocations: 98.19 kB / 2.449 GB, free: 59.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4719/4.955, allocations: 67.22 MB / 2.514 GB, free: 237.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.383e-06/4.955, allocations: 0 / 2.514 GB, free: 237.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.688e-05/4.955, allocations: 25.28 kB / 2.514 GB, free: 237.5 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.001841/4.957, allocations: 1.113 MB / 2.515 GB, free: 236.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/4.957, allocations: 10.27 kB / 2.515 GB, free: 236.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/4.958, allocations: 210 kB / 2.516 GB, free: 236.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009867/4.959, allocations: 0.6391 MB / 2.516 GB, free: 236.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.704e-05/4.959, allocations: 29.5 kB / 2.516 GB, free: 236.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/4.959, allocations: 49.94 kB / 2.516 GB, free: 236.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001667/4.961, allocations: 1.027 MB / 2.517 GB, free: 236.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/4.962, allocations: 0.7921 MB / 2.518 GB, free: 236.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/4.962, allocations: 0.5 kB / 2.518 GB, free: 236.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.189e-05/4.962, allocations: 5.531 kB / 2.518 GB, free: 236.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.48e-05/4.962, allocations: 22.69 kB / 2.518 GB, free: 236.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003803/4.966, allocations: 2.42 MB / 2.52 GB, free: 235.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009424/4.967, allocations: 0.7383 MB / 2.521 GB, free: 235.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003624/4.967, allocations: 243.7 kB / 2.521 GB, free: 235.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006039/4.968, allocations: 469.4 kB / 2.522 GB, free: 235.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006214/4.969, allocations: 395.2 kB / 2.522 GB, free: 235.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 1.893e-06/4.969, allocations: 0 / 2.522 GB, free: 235.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.004481/4.973, allocations: 1.183 MB / 2.523 GB, free: 235 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/4.973, allocations: 249.8 kB / 2.524 GB, free: 234.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000768/4.974, allocations: 497.3 kB / 2.524 GB, free: 234.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.551e-05/4.974, allocations: 27.3 kB / 2.524 GB, free: 234.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/4.974, allocations: 408.1 kB / 2.524 GB, free: 234.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/4.975, allocations: 235.9 kB / 2.525 GB, free: 234.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/4.975, allocations: 0 / 2.525 GB, free: 234.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.358e-05/4.975, allocations: 376.4 kB / 2.525 GB, free: 233.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/4.975, allocations: 189.6 kB / 2.525 GB, free: 233.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/4.975, allocations: 297.9 kB / 2.525 GB, free: 233.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003056/4.978, allocations: 0.7639 MB / 2.526 GB, free: 233.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/4.978, allocations: 7.531 kB / 2.526 GB, free: 233.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00404/4.982, allocations: 1.185 MB / 2.527 GB, free: 233.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/4.983, allocations: 7.812 kB / 2.527 GB, free: 233.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/4.983, allocations: 0 / 2.527 GB, free: 233.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000598/4.983, allocations: 80.92 kB / 2.527 GB, free: 233.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005661/4.984, allocations: 141.5 kB / 2.528 GB, free: 233.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/4.985, allocations: 1.455 MB / 2.529 GB, free: 232.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007477/4.986, allocations: 63.67 kB / 2.529 GB, free: 232.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.413e-05/4.986, allocations: 25.72 kB / 2.529 GB, free: 232.4 MB / 0.698 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 (75): * Single equations (assignments): 74 * 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.000181/4.986, allocations: 117.6 kB / 2.529 GB, free: 232.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/4.986, allocations: 72.78 kB / 2.529 GB, free: 232.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004362/4.991, allocations: 1.446 MB / 2.531 GB, free: 232.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/4.991, allocations: 7.719 kB / 2.531 GB, free: 232.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/4.991, allocations: 3.688 kB / 2.531 GB, free: 232.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/4.991, allocations: 6.953 kB / 2.531 GB, free: 232.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005241/4.996, allocations: 2.243 MB / 2.533 GB, free: 231.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/4.996, allocations: 2.969 kB / 2.533 GB, free: 231.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005526/4.997, allocations: 150.7 kB / 2.533 GB, free: 231.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004521/4.997, allocations: 81.45 kB / 2.533 GB, free: 231.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.325e-05/4.997, allocations: 14.12 kB / 2.533 GB, free: 231.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001397/4.999, allocations: 1.476 MB / 2.535 GB, free: 230.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/4.999, allocations: 0 / 2.535 GB, free: 230.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003876/5.002, allocations: 1.363 MB / 2.536 GB, free: 230.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003519/5.003, allocations: 276 kB / 2.536 GB, free: 230.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/5.003, allocations: 3.031 kB / 2.536 GB, free: 230.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005441/5.003, allocations: 57.47 kB / 2.536 GB, free: 230.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/5.004, allocations: 60.84 kB / 2.536 GB, free: 230.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.307e-05/5.004, allocations: 34.89 kB / 2.536 GB, free: 230.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004047/5.004, allocations: 407.5 kB / 2.537 GB, free: 230.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.3e-07/5.004, allocations: 2.625 kB / 2.537 GB, free: 230.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001056/5.005, allocations: 361.8 kB / 2.537 GB, free: 230.1 MB / 0.698 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 (84): * Single equations (assignments): 81 * 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.001539/5.007, allocations: 1.1 MB / 2.538 GB, free: 229.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009689/5.008, allocations: 0.6452 MB / 2.539 GB, free: 229.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/5.008, allocations: 0 / 2.539 GB, free: 229.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005541/5.008, allocations: 449.2 kB / 2.539 GB, free: 229.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/5.009, allocations: 215.6 kB / 2.539 GB, free: 229.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/5.012, allocations: 1.324 MB / 2.541 GB, free: 229.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/5.013, allocations: 1.039 MB / 2.542 GB, free: 228.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007637/5.013, allocations: 261.1 kB / 2.542 GB, free: 228.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/5.014, allocations: 91.2 kB / 2.542 GB, free: 228.4 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/5.014, allocations: 1.594 kB / 2.542 GB, free: 228.4 MB / 0.698 GB Notification: Performance of Templates: time 0.02306/5.037, allocations: 15.8 MB / 2.558 GB, free: 227 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)