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 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.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.7454/0.7454, allocations: 140.1 MB / 156 MB, free: 5.184 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.001127/0.001127, allocations: 177 kB / 188.5 MB, free: 15.85 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.558/1.558, allocations: 205.4 MB / 426.3 MB, free: 8.406 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.0007423/0.0007423, allocations: 85.17 kB / 0.4945 GB, free: 8.344 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.00161/0.001611, allocations: 264.9 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005118/0.0005122, allocations: 20 kB / 0.662 GB, free: 6.812 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.413, allocations: 79.29 MB / 0.7395 GB, free: 46.39 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.826/5.239, allocations: 2.043 GB / 2.782 GB, free: 166.7 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004475/5.239, allocations: 100.9 kB / 2.782 GB, free: 166.6 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.14/5.379, allocations: 67.94 MB / 2.848 GB, free: 98.32 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.767e-06/5.379, allocations: 0 / 2.848 GB, free: 98.32 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001361/5.38, allocations: 23.94 kB / 2.848 GB, free: 98.3 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.00283/5.382, allocations: 1.192 MB / 2.85 GB, free: 97.05 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/5.382, allocations: 8.031 kB / 2.85 GB, free: 97.05 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/5.384, allocations: 211.4 kB / 2.85 GB, free: 96.84 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/5.385, allocations: 0.655 MB / 2.85 GB, free: 96.14 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.146e-05/5.385, allocations: 66.38 kB / 2.851 GB, free: 96.08 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/5.385, allocations: 84.38 kB / 2.851 GB, free: 96 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/5.387, allocations: 0.9306 MB / 2.852 GB, free: 95.03 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/5.387, allocations: 4.172 kB / 2.852 GB, free: 95.02 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.179e-05/5.387, allocations: 39.94 kB / 2.852 GB, free: 94.98 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/5.387, allocations: 24 kB / 2.852 GB, free: 94.96 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/5.389, allocations: 1.124 MB / 2.853 GB, free: 93.84 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003925/5.393, allocations: 2.546 MB / 2.855 GB, free: 91.22 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/5.394, allocations: 0.7532 MB / 2.856 GB, free: 90.46 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004867/5.394, allocations: 286.7 kB / 2.856 GB, free: 90.17 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006013/5.395, allocations: 470.2 kB / 2.857 GB, free: 89.62 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007079/5.396, allocations: 451.2 kB / 2.857 GB, free: 89.16 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=73): time 4.228e-06/5.396, allocations: 0 / 2.857 GB, free: 89.16 MB / 0.6667 GB Notification: Performance of matching and sorting (n=73): time 0.002858/5.399, allocations: 1.131 MB / 2.858 GB, free: 88 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/5.399, allocations: 244 kB / 2.858 GB, free: 87.71 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008671/5.4, allocations: 0.6526 MB / 2.859 GB, free: 87.04 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.716e-05/5.4, allocations: 37.7 kB / 2.859 GB, free: 87 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/5.4, allocations: 392.2 kB / 2.859 GB, free: 86.61 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/5.4, allocations: 244.4 kB / 2.86 GB, free: 86.37 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/5.4, allocations: 12 kB / 2.86 GB, free: 86.36 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001181/5.4, allocations: 382.8 kB / 2.86 GB, free: 85.97 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004241/5.401, allocations: 229.2 kB / 2.86 GB, free: 85.75 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005092/5.401, allocations: 347.5 kB / 2.861 GB, free: 85.38 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008856/5.402, allocations: 0.5464 MB / 2.861 GB, free: 84.83 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/5.402, allocations: 0 / 2.861 GB, free: 84.83 MB / 0.6667 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001614/5.404, allocations: 0.7471 MB / 2.862 GB, free: 84.07 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/5.404, allocations: 7.938 kB / 2.862 GB, free: 84.06 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/5.404, allocations: 0 / 2.862 GB, free: 84.06 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005488/5.405, allocations: 80.84 kB / 2.862 GB, free: 83.98 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000557/5.405, allocations: 143.8 kB / 2.862 GB, free: 83.84 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/5.407, allocations: 1.516 MB / 2.864 GB, free: 82.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006479/5.407, allocations: 91.42 kB / 2.864 GB, free: 82.09 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-05/5.408, allocations: 27.98 kB / 2.864 GB, free: 82.06 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 (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.0005311/5.408, allocations: 257 kB / 2.864 GB, free: 81.8 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/5.408, allocations: 83.05 kB / 2.864 GB, free: 81.72 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002118/5.41, allocations: 1.025 MB / 2.865 GB, free: 80.68 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/5.41, allocations: 8 kB / 2.865 GB, free: 80.68 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/5.41, allocations: 0 / 2.865 GB, free: 80.68 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/5.41, allocations: 7.922 kB / 2.865 GB, free: 80.67 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/5.412, allocations: 0.8879 MB / 2.866 GB, free: 79.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/5.412, allocations: 0 / 2.866 GB, free: 79.73 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005306/5.412, allocations: 143.8 kB / 2.866 GB, free: 79.59 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004499/5.413, allocations: 88.77 kB / 2.866 GB, free: 79.5 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.153e-05/5.413, allocations: 23.98 kB / 2.866 GB, free: 79.48 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/5.414, allocations: 1.536 MB / 2.868 GB, free: 77.79 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/5.414, allocations: 7.922 kB / 2.868 GB, free: 77.79 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/5.416, allocations: 0.8616 MB / 2.869 GB, free: 76.91 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004287/5.416, allocations: 287.7 kB / 2.869 GB, free: 76.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/5.416, allocations: 19.94 kB / 2.869 GB, free: 76.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005593/5.417, allocations: 67.95 kB / 2.869 GB, free: 76.52 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/5.417, allocations: 64.84 kB / 2.869 GB, free: 76.45 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.814e-05/5.417, allocations: 31.98 kB / 2.869 GB, free: 76.42 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006423/5.418, allocations: 491 kB / 2.869 GB, free: 75.95 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/5.418, allocations: 0 / 2.869 GB, free: 75.95 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001147/5.419, allocations: 351.1 kB / 2.87 GB, free: 75.61 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 (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.00202/5.421, allocations: 1.049 MB / 2.871 GB, free: 74.67 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001492/5.422, allocations: 0.7435 MB / 2.872 GB, free: 73.91 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/5.422, allocations: 0 / 2.872 GB, free: 73.91 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007838/5.423, allocations: 0.4963 MB / 2.872 GB, free: 73.4 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/5.424, allocations: 258.1 kB / 2.872 GB, free: 73.15 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003831/5.428, allocations: 2.159 MB / 2.874 GB, free: 70.96 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005019/5.429, allocations: 1.015 MB / 2.875 GB, free: 69.92 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0009105/5.43, allocations: 258.1 kB / 2.876 GB, free: 69.66 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/5.43, allocations: 91.39 kB / 2.876 GB, free: 69.57 MB / 0.6667 GB Notification: Performance of SimCode: time 5.21e-07/5.43, allocations: 0 / 2.876 GB, free: 69.57 MB / 0.6667 GB Notification: Performance of Templates: time 0.02975/5.46, allocations: 20.63 MB / 2.896 GB, free: 49.03 MB / 0.6667 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)