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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.7706/0.7706, allocations: 140.1 MB / 156 MB, free: 5.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0011/0.001101, allocations: 188.5 kB / 188.5 MB, free: 15.81 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.4 MB / 426.4 MB, free: 8.453 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00087/0.0008701, allocations: 82.42 kB / 0.4945 GB, free: 8.41 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001766/0.001766, allocations: 277.5 kB / 0.5729 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004951/0.0004953, allocations: 16 kB / 0.662 GB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4411/0.4417, allocations: 79.29 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.662/5.103, allocations: 2.044 GB / 2.783 GB, free: 165.4 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/5.104, allocations: 100.7 kB / 2.783 GB, free: 165.3 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1446/5.248, allocations: 69.4 MB / 2.851 GB, free: 95.58 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.866e-06/5.248, allocations: 0 / 2.851 GB, free: 95.58 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001091/5.248, allocations: 20 kB / 2.851 GB, free: 95.56 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.002945/5.251, allocations: 1.317 MB / 2.852 GB, free: 94.18 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/5.251, allocations: 8.031 kB / 2.852 GB, free: 94.17 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003852/5.255, allocations: 0.6627 MB / 2.853 GB, free: 93.51 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/5.257, allocations: 0.6939 MB / 2.854 GB, free: 92.77 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.769e-05/5.257, allocations: 74.41 kB / 2.854 GB, free: 92.7 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002252/5.257, allocations: 100.4 kB / 2.854 GB, free: 92.6 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002933/5.26, allocations: 1.356 MB / 2.855 GB, free: 91.18 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/5.26, allocations: 192 / 2.855 GB, free: 91.18 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/5.26, allocations: 43.94 kB / 2.855 GB, free: 91.14 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/5.26, allocations: 31.94 kB / 2.855 GB, free: 91.11 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003938/5.264, allocations: 1.838 MB / 2.857 GB, free: 89.27 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005677/5.27, allocations: 3.126 MB / 2.86 GB, free: 86.07 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002855/5.273, allocations: 1.221 MB / 2.861 GB, free: 84.84 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/5.274, allocations: 0.5656 MB / 2.862 GB, free: 84.28 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005743/5.275, allocations: 474.6 kB / 2.862 GB, free: 83.72 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00143/5.276, allocations: 0.7231 MB / 2.863 GB, free: 82.98 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=99): time 3.406e-06/5.276, allocations: 0 / 2.863 GB, free: 82.98 MB / 0.6667 GB Notification: Performance of matching and sorting (n=99): time 0.00476/5.281, allocations: 1.833 MB / 2.865 GB, free: 81.12 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.278e-05/5.281, allocations: 244.3 kB / 2.865 GB, free: 80.83 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008596/5.282, allocations: 0.6526 MB / 2.866 GB, free: 80.17 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.457e-05/5.282, allocations: 41.7 kB / 2.866 GB, free: 80.12 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/5.282, allocations: 404.5 kB / 2.866 GB, free: 79.72 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000209/5.282, allocations: 331.1 kB / 2.866 GB, free: 79.39 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-05/5.282, allocations: 16 kB / 2.866 GB, free: 79.38 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000107/5.283, allocations: 386.8 kB / 2.867 GB, free: 78.99 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/5.284, allocations: 453.7 kB / 2.867 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/5.285, allocations: 0.5703 MB / 2.868 GB, free: 77.94 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002202/5.287, allocations: 0.9794 MB / 2.869 GB, free: 76.95 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/5.287, allocations: 0 / 2.869 GB, free: 76.95 MB / 0.6667 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003027/5.29, allocations: 1.22 MB / 2.87 GB, free: 75.72 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/5.29, allocations: 5.25 kB / 2.87 GB, free: 75.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/5.29, allocations: 4 kB / 2.87 GB, free: 75.71 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005227/5.291, allocations: 88.8 kB / 2.87 GB, free: 75.62 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/5.292, allocations: 235.7 kB / 2.87 GB, free: 75.39 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/5.293, allocations: 1.524 MB / 2.872 GB, free: 73.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/5.294, allocations: 143.2 kB / 2.872 GB, free: 73.59 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.275e-05/5.295, allocations: 43.91 kB / 2.872 GB, free: 73.54 MB / 0.6667 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.0005846/5.295, allocations: 262.8 kB / 2.872 GB, free: 73.28 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/5.295, allocations: 90.97 kB / 2.872 GB, free: 73.19 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00374/5.299, allocations: 1.561 MB / 2.874 GB, free: 71.61 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/5.299, allocations: 12 kB / 2.874 GB, free: 71.59 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/5.299, allocations: 0 / 2.874 GB, free: 71.59 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/5.299, allocations: 11.97 kB / 2.874 GB, free: 71.58 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/5.301, allocations: 1.112 MB / 2.875 GB, free: 70.42 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/5.301, allocations: 7.938 kB / 2.875 GB, free: 70.41 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/5.302, allocations: 247.6 kB / 2.875 GB, free: 70.17 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004749/5.302, allocations: 80.78 kB / 2.875 GB, free: 70.09 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/5.302, allocations: 31.97 kB / 2.875 GB, free: 70.05 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001761/5.304, allocations: 1.548 MB / 2.877 GB, free: 68.37 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/5.304, allocations: 0 / 2.877 GB, free: 68.37 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003259/5.307, allocations: 1.338 MB / 2.878 GB, free: 67.01 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006044/5.308, allocations: 323.6 kB / 2.878 GB, free: 66.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002462/5.308, allocations: 24 kB / 2.878 GB, free: 66.65 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/5.309, allocations: 115.9 kB / 2.879 GB, free: 66.54 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/5.309, allocations: 80.83 kB / 2.879 GB, free: 66.46 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.14e-05/5.31, allocations: 43.91 kB / 2.879 GB, free: 66.41 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008025/5.31, allocations: 487 kB / 2.879 GB, free: 65.95 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.8e-07/5.31, allocations: 0 / 2.879 GB, free: 65.95 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001491/5.312, allocations: 403 kB / 2.88 GB, free: 65.55 MB / 0.6667 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 108 * 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.002185/5.314, allocations: 1.062 MB / 2.881 GB, free: 64.6 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003098/5.317, allocations: 1.245 MB / 2.882 GB, free: 63.34 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/5.317, allocations: 0 / 2.882 GB, free: 63.34 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001571/5.319, allocations: 0.7695 MB / 2.883 GB, free: 62.56 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/5.32, allocations: 264.9 kB / 2.883 GB, free: 62.3 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004696/5.325, allocations: 2.551 MB / 2.885 GB, free: 59.72 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/5.325, allocations: 1.052 MB / 2.886 GB, free: 58.64 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001567/5.327, allocations: 327 kB / 2.887 GB, free: 58.32 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004042/5.327, allocations: 119.4 kB / 2.887 GB, free: 58.2 MB / 0.6667 GB Notification: Performance of SimCode: time 8.52e-07/5.327, allocations: 4 kB / 2.887 GB, free: 58.2 MB / 0.6667 GB Notification: Performance of Templates: time 0.03161/5.359, allocations: 22.8 MB / 2.909 GB, free: 35.49 MB / 0.6667 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)