Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7361/0.7361, allocations: 141.7 MB / 154.3 MB, free: 15.47 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000966/0.0009661, allocations: 185.4 kB / 187.3 MB, free: 11.88 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.372/1.372, allocations: 221.3 MB / 441.4 MB, free: 4.574 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.0008906/0.0008908, allocations: 98.89 kB / 0.5124 GB, free: 24.28 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001685/0.001685, allocations: 268.8 kB / 0.5939 GB, free: 7.93 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.65e-05/3.652e-05, allocations: 4 kB / 0.6834 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4625/0.4626, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.706/5.168, allocations: 1.693 GB / 2.457 GB, free: 49.34 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003492/5.169, allocations: 98.77 kB / 2.458 GB, free: 49.29 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6823/5.851, allocations: 69.74 MB / 2.526 GB, free: 235 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.226e-06/5.851, allocations: 0 / 2.526 GB, free: 235 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001097/5.851, allocations: 33.22 kB / 2.526 GB, free: 235 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: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.003153/5.855, allocations: 1.25 MB / 2.527 GB, free: 234.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.867e-05/5.855, allocations: 15.09 kB / 2.527 GB, free: 234.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004531/5.859, allocations: 0.6881 MB / 2.528 GB, free: 234.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/5.861, allocations: 0.6752 MB / 2.528 GB, free: 234.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/5.861, allocations: 79.06 kB / 2.528 GB, free: 234.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/5.861, allocations: 102.5 kB / 2.528 GB, free: 234.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002529/5.864, allocations: 1.17 MB / 2.53 GB, free: 233.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/5.864, allocations: 0 / 2.53 GB, free: 233.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/5.864, allocations: 43.55 kB / 2.53 GB, free: 233.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.188e-05/5.864, allocations: 27.22 kB / 2.53 GB, free: 233.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002535/5.867, allocations: 1.478 MB / 2.531 GB, free: 233.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006839/5.874, allocations: 3.129 MB / 2.534 GB, free: 233.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/5.875, allocations: 1.056 MB / 2.535 GB, free: 233 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000754/5.876, allocations: 457.5 kB / 2.536 GB, free: 233 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007218/5.877, allocations: 484.8 kB / 2.536 GB, free: 232.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001041/5.878, allocations: 0.6061 MB / 2.537 GB, free: 232.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=100): time 3.957e-06/5.878, allocations: 3.375 kB / 2.537 GB, free: 232.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=100): time 0.002327/5.88, allocations: 0.9794 MB / 2.538 GB, free: 232.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/5.881, allocations: 250.6 kB / 2.538 GB, free: 232.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009825/5.882, allocations: 0.5945 MB / 2.538 GB, free: 231.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/5.882, allocations: 48.55 kB / 2.538 GB, free: 231.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003523/5.882, allocations: 407.7 kB / 2.539 GB, free: 231.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002793/5.882, allocations: 332.2 kB / 2.539 GB, free: 231.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.518e-05/5.882, allocations: 16.5 kB / 2.539 GB, free: 231.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001445/5.883, allocations: 396.2 kB / 2.54 GB, free: 231.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005154/5.883, allocations: 328.2 kB / 2.54 GB, free: 231.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006489/5.884, allocations: 467 kB / 2.54 GB, free: 231.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006103/5.884, allocations: 375 kB / 2.541 GB, free: 231.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/5.884, allocations: 0 / 2.541 GB, free: 231.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002095/5.886, allocations: 0.989 MB / 2.542 GB, free: 231 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/5.886, allocations: 4.875 kB / 2.542 GB, free: 231 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/5.886, allocations: 3.938 kB / 2.542 GB, free: 231 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005887/5.887, allocations: 81.28 kB / 2.542 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/5.888, allocations: 245.5 kB / 2.542 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/5.89, allocations: 1.514 MB / 2.543 GB, free: 229.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/5.892, allocations: 160.1 kB / 2.544 GB, free: 229.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.19e-05/5.892, allocations: 39.11 kB / 2.544 GB, free: 229.6 MB / 0.698 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 (103): * Single equations (assignments): 102 * 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.000258/5.892, allocations: 152.5 kB / 2.544 GB, free: 229.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/5.892, allocations: 83.66 kB / 2.544 GB, free: 229.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002905/5.895, allocations: 1.35 MB / 2.545 GB, free: 229.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/5.895, allocations: 15.34 kB / 2.545 GB, free: 229.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/5.895, allocations: 0 / 2.545 GB, free: 229.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/5.895, allocations: 7.219 kB / 2.545 GB, free: 229.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004076/5.899, allocations: 2.485 MB / 2.548 GB, free: 229 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/5.899, allocations: 3.438 kB / 2.548 GB, free: 229 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/5.9, allocations: 254.3 kB / 2.548 GB, free: 229 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004803/5.901, allocations: 79.69 kB / 2.548 GB, free: 229 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/5.901, allocations: 38.11 kB / 2.548 GB, free: 228.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/5.903, allocations: 1.541 MB / 2.55 GB, free: 227.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/5.903, allocations: 3.094 kB / 2.55 GB, free: 227.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002159/5.905, allocations: 1.18 MB / 2.551 GB, free: 227 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000585/5.905, allocations: 329.4 kB / 2.551 GB, free: 226.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/5.906, allocations: 23.38 kB / 2.551 GB, free: 226.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/5.907, allocations: 124.2 kB / 2.551 GB, free: 226.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/5.907, allocations: 77.25 kB / 2.551 GB, free: 226.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.034e-05/5.907, allocations: 41.72 kB / 2.551 GB, free: 226.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006559/5.908, allocations: 488.6 kB / 2.552 GB, free: 226.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/5.908, allocations: 0 / 2.552 GB, free: 226.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00152/5.909, allocations: 448.4 kB / 2.552 GB, free: 226.4 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 (113): * Single equations (assignments): 110 * 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.002174/5.911, allocations: 1.049 MB / 2.553 GB, free: 226.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001958/5.913, allocations: 1.021 MB / 2.554 GB, free: 225.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/5.913, allocations: 0 / 2.554 GB, free: 225.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009972/5.914, allocations: 0.6536 MB / 2.555 GB, free: 225.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/5.916, allocations: 238.1 kB / 2.555 GB, free: 225.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003967/5.92, allocations: 1.615 MB / 2.557 GB, free: 224.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000554/5.92, allocations: 1.078 MB / 2.558 GB, free: 223.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001548/5.922, allocations: 337.7 kB / 2.558 GB, free: 223.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003923/5.922, allocations: 115.8 kB / 2.558 GB, free: 223.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.573e-06/5.922, allocations: 0 / 2.558 GB, free: 223.8 MB / 0.698 GB Notification: Performance of Templates: time 0.03707/5.959, allocations: 24.69 MB / 2.582 GB, free: 205.8 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)