Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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) 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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7609/0.7609, allocations: 127.4 MB / 134.9 MB, free: 3.508 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 188.3 kB / 164.6 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.2 MB / 399.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009099/0.0009098, allocations: 92.59 kB / 476.7 MB, free: 1.523 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.49e-05/1.491e-05, allocations: 2.938 kB / 0.5466 GB, free: 95.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1558, allocations: 76.75 MB / 0.6215 GB, free: 43.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.531/5.687, allocations: 2.147 GB / 2.769 GB, free: 32.79 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003834/5.687, allocations: 91.94 kB / 2.769 GB, free: 32.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.5503/6.238, allocations: 59.8 MB / 2.827 GB, free: 225.8 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.797e-06/6.238, allocations: 0 / 2.827 GB, free: 225.8 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001699/6.238, allocations: 19.44 kB / 2.827 GB, free: 225.8 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.003645/6.241, allocations: 1.053 MB / 2.828 GB, free: 225.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/6.242, allocations: 11.56 kB / 2.828 GB, free: 225.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002966/6.245, allocations: 383 kB / 2.828 GB, free: 225.1 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/6.246, allocations: 0.5471 MB / 2.829 GB, free: 224.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.406e-05/6.246, allocations: 31.64 kB / 2.829 GB, free: 224.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002751/6.247, allocations: 49.75 kB / 2.829 GB, free: 224.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00217/6.249, allocations: 1.057 MB / 2.83 GB, free: 224.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/6.25, allocations: 0.7658 MB / 2.831 GB, free: 224.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/6.25, allocations: 7.266 kB / 2.831 GB, free: 224.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/6.251, allocations: 0 / 2.831 GB, free: 224.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/6.251, allocations: 23.94 kB / 2.831 GB, free: 224.7 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005978/6.257, allocations: 2.423 MB / 2.833 GB, free: 224 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002192/6.259, allocations: 0.7462 MB / 2.834 GB, free: 223.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004959/6.259, allocations: 274.1 kB / 2.834 GB, free: 223.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008376/6.26, allocations: 469 kB / 2.835 GB, free: 223.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000887/6.261, allocations: 431.5 kB / 2.835 GB, free: 223.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=74): time 5.26e-06/6.261, allocations: 3.938 kB / 2.835 GB, free: 223.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=74): time 0.00488/6.266, allocations: 1.061 MB / 2.836 GB, free: 223.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.299e-05/6.266, allocations: 161.6 kB / 2.836 GB, free: 223.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007387/6.267, allocations: 440.3 kB / 2.837 GB, free: 223 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.757e-05/6.267, allocations: 29.52 kB / 2.837 GB, free: 222.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003267/6.267, allocations: 365.9 kB / 2.837 GB, free: 222.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/6.268, allocations: 233.7 kB / 2.837 GB, free: 222.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/6.268, allocations: 0 / 2.837 GB, free: 222.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001226/6.268, allocations: 372 kB / 2.838 GB, free: 222.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003187/6.268, allocations: 203.1 kB / 2.838 GB, free: 222.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003746/6.268, allocations: 289.6 kB / 2.838 GB, free: 222.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003325/6.272, allocations: 0.615 MB / 2.839 GB, free: 222.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/6.272, allocations: 3 kB / 2.839 GB, free: 222.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.004654/6.276, allocations: 1.045 MB / 2.84 GB, free: 222.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/6.277, allocations: 7.75 kB / 2.84 GB, free: 222.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/6.277, allocations: 0 / 2.84 GB, free: 222.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005798/6.277, allocations: 84.45 kB / 2.84 GB, free: 222.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008227/6.278, allocations: 169.2 kB / 2.84 GB, free: 222 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/6.28, allocations: 1.452 MB / 2.841 GB, free: 220.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008445/6.281, allocations: 82.42 kB / 2.841 GB, free: 220.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.941e-05/6.281, allocations: 32.62 kB / 2.842 GB, free: 220.7 MB / 0.6511 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.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete 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.0002069/6.281, allocations: 121.2 kB / 2.842 GB, free: 220.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/6.281, allocations: 63.75 kB / 2.842 GB, free: 220.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0063/6.287, allocations: 1.302 MB / 2.843 GB, free: 219.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/6.287, allocations: 7.719 kB / 2.843 GB, free: 219.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/6.287, allocations: 0 / 2.843 GB, free: 219.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/6.287, allocations: 3.984 kB / 2.843 GB, free: 219.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/6.289, allocations: 0.7471 MB / 2.844 GB, free: 219.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/6.289, allocations: 0 / 2.844 GB, free: 219.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008258/6.29, allocations: 171.9 kB / 2.844 GB, free: 219.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004831/6.29, allocations: 86.91 kB / 2.844 GB, free: 219.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.12e-05/6.29, allocations: 15.08 kB / 2.844 GB, free: 219.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/6.292, allocations: 1.47 MB / 2.845 GB, free: 217.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/6.292, allocations: 4 kB / 2.845 GB, free: 217.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004736/6.297, allocations: 1.148 MB / 2.847 GB, free: 217.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005306/6.297, allocations: 275.8 kB / 2.847 GB, free: 217 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/6.297, allocations: 10.06 kB / 2.847 GB, free: 217 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007361/6.298, allocations: 65.75 kB / 2.847 GB, free: 216.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/6.298, allocations: 61.81 kB / 2.847 GB, free: 216.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-05/6.298, allocations: 26.39 kB / 2.847 GB, free: 216.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005548/6.299, allocations: 357.1 kB / 2.847 GB, free: 216.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.11e-07/6.299, allocations: 0 / 2.847 GB, free: 216.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001481/6.3, allocations: 336.2 kB / 2.848 GB, free: 216.6 MB / 0.6511 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.002351/6.303, allocations: 1.046 MB / 2.849 GB, free: 216.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00132/6.304, allocations: 0.6817 MB / 2.849 GB, free: 215.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/6.304, allocations: 3.75 kB / 2.849 GB, free: 215.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007589/6.305, allocations: 452.5 kB / 2.85 GB, free: 215.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009875/6.306, allocations: 187.5 kB / 2.85 GB, free: 215.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/6.309, allocations: 1.274 MB / 2.851 GB, free: 214.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/6.31, allocations: 1.014 MB / 2.852 GB, free: 214 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001127/6.311, allocations: 253.9 kB / 2.852 GB, free: 213.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002886/6.311, allocations: 85.2 kB / 2.852 GB, free: 213.8 MB / 0.6511 GB Notification: Performance of SimCode: time 7.51e-07/6.311, allocations: 0 / 2.852 GB, free: 213.8 MB / 0.6511 GB Notification: Performance of Templates: time 0.02314/6.334, allocations: 14.71 MB / 2.867 GB, free: 199.6 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)