Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7941/0.7941, allocations: 140.1 MB / 156 MB, free: 5.164 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.001005/0.001005, allocations: 179.7 kB / 188.5 MB, free: 15.82 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.551/1.551, allocations: 205.4 MB / 426.3 MB, free: 8.469 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.0008839/0.0008839, allocations: 93.16 kB / 0.4945 GB, free: 8.414 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001658/0.001659, allocations: 272.8 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008596/0.0008597, allocations: 20 kB / 0.662 GB, free: 6.801 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4268, allocations: 79.3 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.674/5.101, allocations: 2.042 GB / 2.782 GB, free: 167.1 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/5.102, allocations: 101 kB / 2.782 GB, free: 167 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1351/5.237, allocations: 65.12 MB / 2.846 GB, free: 101.5 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.647e-06/5.237, allocations: 0 / 2.846 GB, free: 101.5 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001356/5.237, allocations: 23.94 kB / 2.846 GB, free: 101.5 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003345/5.24, allocations: 1.184 MB / 2.847 GB, free: 100.2 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/5.24, allocations: 8.031 kB / 2.847 GB, free: 100.2 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/5.242, allocations: 271.3 kB / 2.847 GB, free: 99.96 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/5.243, allocations: 0.6511 MB / 2.848 GB, free: 99.27 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.253e-05/5.243, allocations: 66.38 kB / 2.848 GB, free: 99.2 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/5.244, allocations: 84.38 kB / 2.848 GB, free: 99.12 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/5.245, allocations: 0.9774 MB / 2.849 GB, free: 98.1 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/5.245, allocations: 192 / 2.849 GB, free: 98.1 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.982e-05/5.245, allocations: 39.94 kB / 2.849 GB, free: 98.06 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/5.245, allocations: 20 kB / 2.849 GB, free: 98.04 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001886/5.247, allocations: 1.179 MB / 2.85 GB, free: 96.86 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003992/5.251, allocations: 2.593 MB / 2.853 GB, free: 94.2 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00213/5.254, allocations: 0.8688 MB / 2.853 GB, free: 93.32 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005942/5.254, allocations: 314.7 kB / 2.854 GB, free: 93.01 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-05/5.254, allocations: 32.59 kB / 2.854 GB, free: 92.98 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007895/5.255, allocations: 483.2 kB / 2.854 GB, free: 92.48 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=74): time 3.206e-06/5.255, allocations: 4 kB / 2.854 GB, free: 92.48 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74): time 0.00313/5.258, allocations: 1.213 MB / 2.855 GB, free: 91.24 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.013e-05/5.258, allocations: 244 kB / 2.856 GB, free: 90.95 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008046/5.259, allocations: 0.6447 MB / 2.856 GB, free: 90.29 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.06e-05/5.259, allocations: 37.7 kB / 2.856 GB, free: 90.25 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/5.259, allocations: 396.2 kB / 2.857 GB, free: 89.85 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/5.26, allocations: 248.3 kB / 2.857 GB, free: 89.61 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/5.26, allocations: 12 kB / 2.857 GB, free: 89.59 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000102/5.26, allocations: 386.8 kB / 2.857 GB, free: 89.21 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005179/5.26, allocations: 249.2 kB / 2.857 GB, free: 88.96 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005782/5.261, allocations: 383.5 kB / 2.858 GB, free: 88.56 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/5.262, allocations: 0.5972 MB / 2.858 GB, free: 87.96 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/5.262, allocations: 0 / 2.858 GB, free: 87.96 MB / 0.6667 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00177/5.264, allocations: 0.7978 MB / 2.859 GB, free: 87.15 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/5.264, allocations: 11.94 kB / 2.859 GB, free: 87.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/5.264, allocations: 3.984 kB / 2.859 GB, free: 87.13 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005341/5.264, allocations: 76.84 kB / 2.859 GB, free: 87.05 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00061/5.265, allocations: 159.8 kB / 2.859 GB, free: 86.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/5.267, allocations: 1.509 MB / 2.861 GB, free: 85.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006206/5.267, allocations: 103.3 kB / 2.861 GB, free: 85.14 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.355e-05/5.267, allocations: 27.98 kB / 2.861 GB, free: 85.12 MB / 0.6667 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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.0004113/5.268, allocations: 263 kB / 2.861 GB, free: 84.85 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/5.268, allocations: 75.06 kB / 2.861 GB, free: 84.78 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/5.27, allocations: 1.081 MB / 2.862 GB, free: 83.69 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/5.27, allocations: 12 kB / 2.862 GB, free: 83.68 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/5.27, allocations: 4 kB / 2.862 GB, free: 83.67 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/5.27, allocations: 7.922 kB / 2.862 GB, free: 83.66 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008693/5.271, allocations: 0.9076 MB / 2.863 GB, free: 82.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/5.271, allocations: 4 kB / 2.863 GB, free: 82.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005971/5.272, allocations: 155.8 kB / 2.863 GB, free: 82.55 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004367/5.272, allocations: 80.78 kB / 2.864 GB, free: 82.47 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.688e-05/5.272, allocations: 27.97 kB / 2.864 GB, free: 82.44 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/5.273, allocations: 1.555 MB / 2.865 GB, free: 80.74 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/5.273, allocations: 0 / 2.865 GB, free: 80.74 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/5.275, allocations: 0.9201 MB / 2.866 GB, free: 79.8 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003166/5.276, allocations: 287.8 kB / 2.866 GB, free: 79.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.043e-05/5.276, allocations: 19.94 kB / 2.866 GB, free: 79.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005375/5.276, allocations: 79.94 kB / 2.866 GB, free: 79.4 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/5.276, allocations: 60.84 kB / 2.866 GB, free: 79.34 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-05/5.276, allocations: 31.98 kB / 2.866 GB, free: 79.31 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004907/5.277, allocations: 479 kB / 2.867 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.81e-07/5.277, allocations: 0 / 2.867 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009447/5.278, allocations: 347 kB / 2.867 GB, free: 78.5 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 (86): * Single equations (assignments): 83 * 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.001689/5.279, allocations: 1.023 MB / 2.868 GB, free: 77.6 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001524/5.281, allocations: 0.8059 MB / 2.869 GB, free: 76.78 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/5.281, allocations: 4 kB / 2.869 GB, free: 76.77 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008387/5.282, allocations: 0.5198 MB / 2.87 GB, free: 76.24 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/5.283, allocations: 253.3 kB / 2.87 GB, free: 76 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/5.287, allocations: 2.19 MB / 2.872 GB, free: 73.78 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/5.287, allocations: 1.015 MB / 2.873 GB, free: 72.73 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008549/5.288, allocations: 270 kB / 2.873 GB, free: 72.46 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/5.288, allocations: 95.38 kB / 2.873 GB, free: 72.37 MB / 0.6667 GB Notification: Performance of SimCode: time 8.42e-07/5.288, allocations: 4 kB / 2.873 GB, free: 72.37 MB / 0.6667 GB Notification: Performance of Templates: time 0.02706/5.315, allocations: 20.56 MB / 2.893 GB, free: 51.89 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)